August 1, 2013 at 7:32 pm #6151
When I use a thumbnail to link to a full-size image, and the image opens, I don’t get the cool modal lightbox effect I was expecting.
The image simply just opens, and to close it again you have to use the back-arrow.
Is that the way its supposed to be. No cool modal lightbox effect with Epik?
Terence.August 2, 2013 at 9:07 pm #6162
By default it’s not supposed to show unless you uncomment the prettyPhoto code in the portfolio template….and the comment out the other code right above it. So basically you have to activate it with the code that is available in the portfolio tempalte. Have you already done that? Do you have a link?
August 3, 2013 at 8:59 am #6168
When I did that Eric, that effect is what I was trying to accomplish, but it only changes the portfolio section. The behaviour of the images in the Blog pages are not affected. Is there some more code to uncomment lurking somewhere?August 3, 2013 at 11:24 am #6169
The prettyPhoto is designed to work with the portfolio template only, it’s not site wide. It would probably be easier to find a plugin to get the blog and any other images to open up using that same effect. I’d search over at WP.org, I’m sure they have plenty of plugins that will do this automatically.
August 3, 2013 at 12:12 pm #6170
What do you think about doing it this way ~ http://fearlessflyer.com/2011/04/how-to-add-lightbox-to-wp-without-plugin/
Would it be possible to do with what is already installed by the theme?August 4, 2013 at 12:56 am #6185
I’ve never used the tutorial so I wouldn’t know if it works or not….so you’ll have to just try it and see.
It should work as long as you can link to the prettyPhoto code in its current location (lib folder of your theme).
August 4, 2013 at 8:45 am #6187
I’ll give it a shot and see what happens. I mean, what harm can it do?… 8^)August 4, 2013 at 9:56 pm #6196
It shouldn’t due too much harm….You probably already know this, but make sure you’re editing your files from FTP just in case you make a mistake and can’t go back (using the WP editor).
August 5, 2013 at 5:07 am #6204
Yes, no prob. My real problem is to figure out how to edit the code snippets to access the files already in situ.
- You must be logged in to reply to this topic.