Sorry if this has been answered before…but there is are so many posts related to this, it is hard to wade through all of them.
I set up lightbox to work with a webyep gallery, and it almost works. For some reason, the “X” or close graphic on the large photos won’t display. Any ideas on how I could fix this?
You might for example want to edit the file webyep-system/program/opt/lightbox/js/lightbox.js to adapt the paths to the image files used by Lightbox for the “close” and “loading” images to:
var fileLoadingImage = “/webyep-system/program/opt/lightbox/images/loading.gif”;
var fileBottomNavCloseImage = “/webyep-system/program/opt/lightbox/images/close.gif”;
Alternativley you could just move or make a copy of the images folder inside the
lightbox folder and place it next to your resources and css, folders that freeway
creates on publish. This will have the same effect as adjusting the lightbox script.
I have always chosen the alternative method and it can be done with drag and drop in Fetch FTP
Hi Mr Worm, when I’ve used Lightbox & WebYep, I did step one as you have done, and then everything else was loaded into the WY gallery online (not with the upload, but actually done via the browser) and linked from there - it just ‘worked’. No paths amended or anything.
Trev
On 29 Aug 2012, at 10:59, Mr worm wrote:
Hi, trying to get WP & Lightbox working on my site…
I’m running WP version 1.7.2 & WP actions 3.1 & I can’t seem to get it up & running?
I have placed lightbox folder in opt folder
images folder uploaded to server too (in opt folder or root next to CSS/resources folders)
does lightbox.js file need paths to image files amending to:?
var fileLoadingImage = “/webyep system/program/opt/lightbox/images/loading.gif”;
var fileBottomNavCloseImage = “/webyep-system/program/opt/lightbox/images/close.gif”;
If so what lines are these on in the lightbox.js file (51/109)?
& do these paths need to be inline i.e with URL/webyep system/program/opt/lightbox/images/loading.gif
Hi
the easiest way is not to adjust any of the lightbox scripts but
just upload the lightbox folder into the opt folder within the webyep-systems folder on your server and then re-upload the images folder which can be found within the lightbox folder and place it nest to your html or php files