Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ultrapics + Lightbox 2.03.3


albertsavage

Recommended Posts

Hi,

 

Love the Contribution, just one little bug for me, It functions fine in IE, but when I open an image in Firefox, it looks like this:

 

why.jpg

 

The "Close X" is hidden underneath.

 

Any ideas?

 

Thx

Link to comment
Share on other sites

  • Replies 98
  • Created
  • Last Reply

Top Posters In This Topic

I'm having the same problem as Simon Tunnard above. Any solutions? If you need anything like the css or product_info.php page, i will post it. the site is www.italianworld.info

 

I too have the same problem!!

 

Will let you know if I figure it out

Link to comment
Share on other sites

Ok, I figured out the firefox thing! I think ;)

 

I am using STS and found that I had this (below) in my catalog/product_info.php

 

<link rel="stylesheet" type="text/css" href="stylesheet.css">

<script type="text/javascript" src="includes/js/prototype.js"></script>

<script type="text/javascript" src="includes/js/scriptaculous.js?load=effects"></script>

<script type="text/javascript" src="includes/js/lightbox.js"></script>

 

as well as my STS_template.html

 

I removed it from the product_info.php and BAM!

No more funny looking lightbox in firefox!

 

Hope it helps.

 

Jackdog

Link to comment
Share on other sites

Ok, I figured out the firefox thing! I think ;)

 

I am using STS and found that I had this (below) in my catalog/product_info.php

 

<link rel="stylesheet" type="text/css" href="stylesheet.css">

<script type="text/javascript" src="includes/js/prototype.js"></script>

<script type="text/javascript" src="includes/js/scriptaculous.js?load=effects"></script>

<script type="text/javascript" src="includes/js/lightbox.js"></script>

 

as well as my STS_template.html

 

I removed it from the product_info.php and BAM!

No more funny looking lightbox in firefox!

 

Hope it helps.

 

Jackdog

 

Thx m8, that seems to have fixed it

Link to comment
Share on other sites

albert I am a newbie have read this post through and want to add this to my site but i'm are unsure where I should be adding the information.

 

I have successfully added some other add ons. Can you please add the simple steps for me where I should add the information ie includes/product_info or include/language/english/product_info?????

and were do I store the uploaded file lightbox

 

Thanks Stuart

Link to comment
Share on other sites

  • 1 month later...

I´ve just installed the package and it works, but I´ve a problem, if there is only one small product image.

 

The software still adds the zoom button and because there is no picture to zoom, the lightbox can´t open and stays in the picture upload display until you click into the center.

 

Did I configure something wrong, or is this the standard configuration?

 

How can I fix the problem?

 

Here is an example where I have uploaded 4 thumbs and 4 large picture = ok!

 

http://www.semillas.de/catalog/product_inf...oducts_id=10312

 

And here the example with only one product thumb

 

http://www.semillas.de/catalog/product_inf...oducts_id=10203

 

Please help!

 

Peter

Link to comment
Share on other sites

  • 3 weeks later...

Hello everyone. I am a noob to the OsCommerce community and have a fresh install of OsCommerce 2.2-MS2. I have installed the UltraPics 2.07 add-on and when I go to view my catagories/products, nothing is there. I restore the original file and everything is good. Has anyone experienced this before? I tried overwriting the original and also appending the changes, but both ways end up with the same result. Thanks in advance for any help.

Link to comment
Share on other sites

  • 2 weeks later...

I got the contribution working nicely, and I am quite pleased. It took a bit of doing but thanks to all the oter posts in this topic I got it working... For me a great feat as I know nothing about php, html or any of this stuff. I just read and wing it.

 

I have read the osc documentation and tried what it says to get the images to go into sub folders within the images folder and get no luck with this method. I tried using a image manager contribution and lost my ultrapic mod. So I restored my backup... Thank heavens I remembered to do that.

 

I still want to tidy up my images folder. I have a great number of images. Has anyone managed to do this???

 

Example of what I would: images/pottery/shawnee_vase1.jpg

images/postcards/thanksgiving_ft1.jpg

 

It is not a big deal but it would match my categories and products this way.

 

I would appreciate any advise or help. Orrrrrrrr any suggestions as to where I might get instructions or reading to help with this undertaking.

 

Thanks in advance, Karen

Link to comment
Share on other sites

Hi - I've been trying to get this contribution to work for about a week. I double checked that all the files were correct, but I'm still not seeing anything on my pages. I've added the new images to test items, but they are not appearing on those pages. I felt like it might be an issue with the template since I'm using STS, but even on test pages that just use the $content variable, I'm not seeing the additional images thumbnails.

 

I'm sorry I can't provide more to go on, but if anyone can give me tips on where to start narrowing down the problem that would be appreciated!

 

Thanks!

Link to comment
Share on other sites

OK - I turned off my product_info.php template for like 2 seconds (it's a live site), and the thumbnails appeared! So why might they not be showing on my product pages with templates? (They are simple templates without a lot of code in them at all - just the bare essentials). Is there some code I need to include in those templates that I'm missing?

 

I also tried using templates that were outside of the content folder that just used the $content variable, hoping that would make the thumbnails appear. That didn't work either for some reason.

 

Thank you for any help!

 

Hi - I've been trying to get this contribution to work for about a week. I double checked that all the files were correct, but I'm still not seeing anything on my pages. I've added the new images to test items, but they are not appearing on those pages. I felt like it might be an issue with the template since I'm using STS, but even on test pages that just use the $content variable, I'm not seeing the additional images thumbnails.

 

I'm sorry I can't provide more to go on, but if anyone can give me tips on where to start narrowing down the problem that would be appreciated!

 

Thanks!

Link to comment
Share on other sites

And a final note for the night -- I took the added Ultrapics code from the main product_info.php file and stuck it in my custom product_info.php STS content template (product_info.php_29.html, for product #29) and it added the little magnifying glass, but it couldn't find the images that it needed. The resulting code looked like this:

 

<a href="http://www.mysite.com/images/" rel="lightbox">
<img src="includes/sts_templates/full/images/" border="0" alt="" width="50" height="50" hspace="1" vspace="1">
<br>
<img src="includes/languages/english/images/buttons/image_enlarge.gif" border="0" alt="Click to enlarge" title=" Click to enlarge " width="65" height="18">
</a>            

Link to comment
Share on other sites

Hi All,

 

I can no longer add any support to this thread. It's not because I don't want to, but because we made a major business decision to go with another cart software... ZenCart, a code branch of OSC. That brings with it a whole different set of challenges that are different than OSC. While we have loved OSC, and will miss the many excellent contributions others have put out to the community, the move has made it impossible for me to review others' work. In addition, we have abandoned the lightbox concept for the slimbox from mootools (lighter js download for faster page loads).

 

I would have liked to have seen the future of OSC with 3.0, and hope that many others carry on in the spirit of community-based development. Either way, we are committed to the concept of OpenSource, and love sharing what we have developed with others, as they have so freely done with us.

 

Feel free to email me if you wish to ask me any questions, and maybe I can help. My hope is that someone else will take up the charge of implementing this option better than I have. good luck all, and god bless!

 

Albert Savage

Link to comment
Share on other sites

  • 1 month later...

Hello. Just a quick question to anyone who uses this contribution (I know the search function is my friend but it seems we're not on the same wavelength today). Is there a next and previous function to switch between images with this contribution and how do get it to work? Do I have to name my image files in a certain way?

Link to comment
Share on other sites

  • 2 weeks later...

Hi guys, i'v installed the latest contribution from

 

http://www.oscommerce.com/community/contri...earch,ultrapics

 

However i'm having problems, the lightbox doesn't appear to be working and it's just sending the enlarged image to the bottom of page. Here's what i'm talking about

 

http://stoneguru.co.uk/osc/product_info.php?products_id=21

 

A working example can be seen here, http://www.custamazing.com/product_info.ph...e22b8b59b7d5a25

 

I'v compared code from both pages and the only visible difference i can see is at the top of mine there is

 

<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>

 

Whereas in the working version the same line of code reads

 

<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>

Link to comment
Share on other sites

Ok seems the reason it was playing up was due to Simple template system. For future reference just add this line of code into the main template file

 

<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />

 

:)

Edited by tuna1
Link to comment
Share on other sites

I am in the process of installing UltraPics and notice that the folder "catalog/includes" is named "catalog/include", omitting the 'S' in the installation folder. Is this a bug that needs to be resolved in a new release? Methinks yes.

 

Holla,

 

Iced

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...

Thank you for this great contribution, and thank you Albert Savage too, because his posts help me to solve next/prev buttom problem.

I solved it in two simple steps:

 

1-Editing product_info.php and additional_images.php files, replacing rel="lightbox" with rel="lightbox[product]"

 

2-Editing lightbox.css and replacing the images path (../images/prevlabel.gif) of this two lines with a absolute path (www.yourweb.com/catalog/images/prevlabel.gif):

 

#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }

 

I have regruped this posts from Albert Savage for help people to find this information fastest.

 

Regards and excuse my english :blush: .

Link to comment
Share on other sites

This is a great contribution- thanks!

 

Would you be able to tell me how I would change me lightbox.css file in order to make the prev and next buttons visible without hovering over the image? I would like them to just stick to the top right and and left side of the image.

 

Thanks so much!

 

~Kim

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...