|
Using Lightbox for POSTS
 |
It seems right now that the Lightbox stuff only works in the Gallery. What about with posts? I think the reason it does not work right now is because the links go to .html pages instead of .JPG images... I have done some research and found some smart people modifying the plug-in to get around this, but the problem is that their modifications are very specific to using Lightbox.
What does this mean? I'd have to go back and change all of my old posts to work this way with Flickr images and ALL of my posts will be incompatible if I want to revert from using the Lightbox method for viewing images! Bad!
I think we need a generic solution that intercepts the .html URL the Flickr plugin creates so it doesn't break older posts, and creates a Lightbox-friendly image link instead. Perhaps this can be done with a bit of Javascript?
Also, I'd REALLY like Lightbox to open a larger version of the image than I have placed in my post. Better yet, I'd like the medium version to open and the user have an option to load the larger or original version right in the Lightbox dialog. Is this possible??
Posted at 2:35AM, 10 July 2008 PST
(
permalink
)
|
 |
@ma3stro: the latest version of the plugin should enable lightbox (or other popup overlays) for photos inserted into posts... please make sure you're using at least 0.97. At the moment, this does mean that if you want to switch your old inserted photos to lightbox (or vice versa), that it will require a bit of manual labor. I am working on a generic solution to this, and will probably use something along the lines of [flickr photo=123456] (flickr videos are currently displayed using this method)
Regarding the size of the popup overlay, add the following to the top of your wp-config.php:
define('TANTAN_DISPLAY_POPUP_SIZE', 'Medium');
And feel free to use 'Large', 'Original' instead of 'Medium'. All the sizes available are 'Square', 'Thumbnail', 'Small', 'Medium', 'Large', 'Original'
Hope that helps!
Posted 4 months ago.
(
permalink
)
|
 |
Hey Joe! Thanks for the info. I see the plug-in/lightbox combo does actually work with new posts, just not with old ones (I hadn't made a new post since setting up lightbox). I hope a generic solution can be found soon to make old and new posts work in the same way. ;)
As for the second part I think there will be problems with preset sizes larger than medium. I have noticed that all the sizes do not always exist. For example:
www.flickr.com/photos/ma3stro/2604453789/sizes/o/
Large size is missing, since the original photo is not very big. Is there any way we can handle this? Better yet, can you create links to view existing larger sizes in the lightbox pop-up along with the other information about each photo? I think this would be good even for the default html gallery page view since many users unfamiliar with Flickr don't know that they can view the photo on Flickr to see larger sizes!
Posted 4 months ago.
(
permalink
)
|
 |
I'm having a similar problem, where I am unable to put whole albums into a post. When I insert the cover photo of an album, it defaults to an html page like Ma3stro was talking about, rather than to a .jpg.
My post is here: flickr.com/groups/tantannoodles/discuss/72157606080610668/
Posted 4 months ago.
(
permalink
)
|
Would you like to comment?
Sign up for a free account, or sign in (if you're already a member).
|
|