Ok, here is the question.
I have 20 images in a product, but I only want to see the default images and three small images below. If you click a images the viewer es opened so you can see the 20, but in the product display is better without several images...
You can see an example here http://fluid-house.com/ocart/index.php? ... ct_id=1099
The description is below, too far... it is not very cool...
Someone could help me?
Thanks
I have 20 images in a product, but I only want to see the default images and three small images below. If you click a images the viewer es opened so you can see the 20, but in the product display is better without several images...
You can see an example here http://fluid-house.com/ocart/index.php? ... ct_id=1099
The description is below, too far... it is not very cool...
Someone could help me?
Thanks
The problem is that I want when you click the images and the viewer opens, you can see the 20 images, so I have to add in the product settings. On the other hand I want that in the product page in the e-shop don´t appear the 20 only three or less.
For me is very important that the description appears just under the main image and not at the end, nobody is going to see the description.
Sorry about my English I do my best,
thanks,
For me is very important that the description appears just under the main image and not at the end, nobody is going to see the description.
Sorry about my English I do my best,
thanks,
Version? Theme is default. You say 20 images but in Firefox 23.0.1 I see ONE small image that is about 2.5x the little ones under it, where I see ca. 239 (quickly counted, 70 rows of 3, +1 of 2) little images and they appear to be thumbnail triplets as stills, but in the "viewer" I seem able to review all of them (or at the very least 1/3 of them, 71+, at one size). What extensions are running? What you have is not normal in any version of stock OC.
You should ask the author of whatever extensions you have that fiddle with image displays.
You should ask the author of whatever extensions you have that fiddle with image displays.
Ok, Sorry, my fault... In the example there are 240 images, I talk about 20 for instance, but if you see this page maybe you could understand.
I am working with 100, 200 or 300 images. The viewer works perfect.
My first option is to reduce the little images, but I prefer use 2 rows of 100 but I think this is not possible. Now I will try...
I am working with 100, 200 or 300 images. The viewer works perfect.
My first option is to reduce the little images, but I prefer use 2 rows of 100 but I think this is not possible. Now I will try...
Yes, exactly. My Theme is "default"
Ok, Now I resized the images 1 x 1 px so you can see like 200 spots... (the system doesn´t allow 0x0px)
If I can´t hide this little images, or reorganize them. I will let 1x1 , but It is a pity becuse in the product where I just have 5 images the previous settings were perfect...
Thanks for your help, I really appreciate them.
Ok, Now I resized the images 1 x 1 px so you can see like 200 spots... (the system doesn´t allow 0x0px)
If I can´t hide this little images, or reorganize them. I will let 1x1 , but It is a pity becuse in the product where I just have 5 images the previous settings were perfect...
Thanks for your help, I really appreciate them.
You may want to rethink how you go at that. During the quick count that did hit 1+239, I was impressed that the thumbnails are too tiny and not appropriately arranged. My reaction is that their being there is effectively useless. ESPECIALLY if you are selling images, keep to the best ones and make them legible -- keep the rest to yourself. The largest (1 above the 239) is significantly too small, and the viewer is only marginally large enough, for the sake of selling images. Have you ever suffered somebody's vacation slides? Same deal, every bloody motor-driven shot on a roll or on a card does not need to be shown or seen. You'll need to accept that what is counterproductive is not worth presenting, and you'll need to avoid marrying every image you shot. (I work with high resolution photographic and other imagery, and have for many years.)
You still haven't given version. That the theme is default appears twice.
You still haven't given version. That the theme is default appears twice.
Yes I know... It is true, but It is necessary. The photographer go to the beach, take 100 photos. Then I create 101 products, the first one is the catalog (where everybody can see all the photos and find the proper photo) and the next step is going to the other 100 products and buy the one you really like. If I don´t create this "product catalog" is impossible for a surfer to find himself. It is like when you go to a "roller coaster" in a park, and when you go out you can find your photo and buy it.
if you don't want the thumbs to display you could add:ajojavi wrote:Yes, exactly. My Theme is "default"
Ok, Now I resized the images 1 x 1 px so you can see like 200 spots... (the system doesn´t allow 0x0px)
If I can´t hide this little images, or reorganize them. I will let 1x1 , but It is a pity becuse in the product where I just have 5 images the previous settings were perfect...
Thanks for your help, I really appreciate them.
style="display:none"
to the the <a> tag in line 18 of your product.tpl.
if you want to display only a certain amount of thumbs (like, 5 for instance) but hide the others you could mod your php loop like this:
Code: Select all
<?php foreach ($images as $key=>$image) { ?>
<a href="<?php echo $image['popup']; ?>" <?php if ($key > 4) {echo 'style="display:none"';} ?> title="<?php echo $heading_title; ?>" class="colorbox"><img src="<?php echo $image['thumb']; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" /></a>
<?php } ?>
Last edited by billynoah on Tue Dec 03, 2013 5:04 am, edited 1 time in total.
Sorry, I am not sure understand this. (I don´t speak english very well and sometime people have to speak to me like if I was a child
1st option: hide the thumbs.
2nd option: limited thumbs.
The code is the fisrt or the second option. And what is the file I have to change?
1st option: hide the thumbs.
2nd option: limited thumbs.
The code is the fisrt or the second option. And what is the file I have to change?
@billynoah that code to limit to 5 visible thumbs is brilliant, works perfectly on OC1.5.6
@ajojavi to save you struggling I have made the code change to the product.tpl files for both 1.5.6 and 1.5.5.1 (you never told us which version you are using but I can see now it is 1.5.6 as you have a link to recurring payments in your account page...) and I attach the files here for you.
First use FTP and go to /catalog/view/theme/default/template/product/ folder - rename the product.tpl to ORIGINALproduct.tpl just in case
Then upload the modified product.tpl to the same place and your thumbs should be limited to 5 (I would recommend changing that to 6 so they are in 2 rows of 3 and evenly distributed - if you want to do that just edit the new product.tpl in notepad++ and change ($key > 4) to ($key > 5), save the file and upload it).
Hope that helps
EDIT: Made this into a vQmod for 1.5.6 and 1.5.5.1, file attached for everyone and thanks to billynoah again for a great code snippet +1
@ajojavi to save you struggling I have made the code change to the product.tpl files for both 1.5.6 and 1.5.5.1 (you never told us which version you are using but I can see now it is 1.5.6 as you have a link to recurring payments in your account page...) and I attach the files here for you.
First use FTP and go to /catalog/view/theme/default/template/product/ folder - rename the product.tpl to ORIGINALproduct.tpl just in case
Then upload the modified product.tpl to the same place and your thumbs should be limited to 5 (I would recommend changing that to 6 so they are in 2 rows of 3 and evenly distributed - if you want to do that just edit the new product.tpl in notepad++ and change ($key > 4) to ($key > 5), save the file and upload it).
Hope that helps
EDIT: Made this into a vQmod for 1.5.6 and 1.5.5.1, file attached for everyone and thanks to billynoah again for a great code snippet +1
Attachments
vQmod version for OC1.5.6 - limit 6
Stokey
Who is online
Users browsing this forum: Baidu [Spider] and 142 guests