Gallery Build

7 posts by 2 authors in: Forums > CMS Builder
Last Post: January 16, 2012   (RSS)

By jakfunk - January 15, 2012

Hi all!

Pleasure to be a part of the community. Have a huge problem. Well huge to my hothead client anyways.

Interactivetools built me a gallery. The functionality consists of being able to upload an image. A thumbnail is automatically generated (works as it should). When rolling over the thumbnail a larger version of this image should be displayed. The problem is all thumbnails are displayed/listed as they should be on the PHP page containing the gallery but the main image is "missing" when one rolls over the thumbnail. I guess it is a path issue but I am admittedly a PHP idiot. Don't know why this is happening. Can't see what the problem may be. Please. I desaparately need help on this. The client is all over me. I may lose the client as a result of this. Please. Can someone take a look and see what the problem may be?

The URL of the page is http://www.homesbydesantis.com/gallery_main.php

Thank you so much in advance.

James.

Re: [Jason] Gallery Build

By jakfunk - January 16, 2012

Thanks for your response, Jason.

I have attached the page. If you have a chance to look it over, I would really appreciate it.

Thank you very much.



James.
Attachments:

gallery_main.php 9K

Re: [jakfunk] Gallery Build

By Jason - January 16, 2012

Hi James,

I took a look at your code and I think I found the problem. The issue is that for both your main image and in your mouseover javascript, you are outputting the url path of your second thumbnail.:

ie,

<?php echo $image['thumbUrlPath2']; ?>

On your page, this is just outputting a blank string, most likely because your upload field (images) has not been set up to have a second thumbnail.

The quickest and easiest solution is to modify your upload field to create a second thumbnail of whatever size you like, and then re-create all your thumbnails for images already uploaded.

Here is an article describing how to do that:


http://www.interactivetools.com/kb/article.php?Resize-thumbnail-images-23


Give this a try and let us know if you run into any problems.

Thanks,
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Gallery Build

By jakfunk - January 16, 2012

Thanks for narrowing down the problem, Jason. I'll give it a try.

Thanks, again.

James.

Re: [Jason] Gallery Build

By jakfunk - January 16, 2012

Hey Jason,

Worked like a charm. Wow. Love you, man. In a manly have beer and watch a game kind of way of course. LOL.

Thank you so much for your quick response and solution. I really appreciate it.

Take care. If ever in B.C., beers are on me.

Thanks again.

James.

Re: [jakfunk] Gallery Build

By Jason - January 16, 2012

Hi James,

Sounds great! Glad to hear everything is working now. Please let us know if you have any other questions.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/