Show thumb information

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jan 17, 2013 2:19 am
Reply with quote
Report this post
How to get VM image information in popup.
Thank you

And I update demo bikestore to latest template files (all) , and there no border and space in products thumbs VM2 but was before. How to get back this :)

Thank you
User avatar
Senior Boarder

teitbite
Fri Jan 18, 2013 4:48 am
Reply with quote
Report this post
Hi

Please show me an example of a page when I'll be able to see it.
User avatar
Moderator

GK User
Sat Jan 19, 2013 3:50 pm
Reply with quote
Report this post
I,m writing from my phone now so I can't show you sample. BUT it's only image description (caption) not showing in the pop up window with image. In oryginal file from VM it's showing up.
User avatar
Senior Boarder

teitbite
Sun Jan 20, 2013 11:22 am
Reply with quote
Report this post
Hi

Sorry but I cannot see such example in demo. But I see that a zoom image is done to an image itself so I do not think it will be easy to add a captio to it. It's basicaly an action done to img element.
User avatar
Moderator

GK User
Sun Jan 20, 2013 2:28 pm
Reply with quote
Report this post
I swap /gk_bikestore/html/com_virtuemart/productdetails/default.php
to one from attachment and I have descryption when you press the image.
And this is link to "demo" http://discus.ie/k2-tags/discus-fish/snake-skin-blue-detail.html

Thank you
User avatar
Senior Boarder

teitbite
Mon Jan 21, 2013 3:13 am
Reply with quote
Report this post
Hi

Ok. I see this second one is using a different script. So I think You should sticl with this default on in this case.

Just take this code from override, so it will display next to each other:

Code: Select all
.floatleft, span.floatleft {
    margin-left: 0;
}
User avatar
Moderator

GK User
Mon Jan 21, 2013 10:04 am
Reply with quote
Report this post
Ok, but in this :main" image is not "responsive" . :roll:
User avatar
Senior Boarder

teitbite
Mon Jan 21, 2013 12:33 pm
Reply with quote
Report this post
Hi

Please change it back and I'll tell You how to make this image responsive.
User avatar
Moderator

GK User
Mon Jan 21, 2013 2:35 pm
Reply with quote
Report this post
Done
And do you think gavick will add this option in future update of this theme ?
User avatar
Senior Boarder

GK User
Mon Jan 21, 2013 5:21 pm
Reply with quote
Report this post
teitbite wrote:Please change it back and I'll tell You how to make this image responsive.

This is done not finish :)
User avatar
Senior Boarder

teitbite
Tue Jan 22, 2013 2:54 am
Reply with quote
Report this post
Hi

Sorry I do not know plans for this. Here is a code for responsive image in this area:

Code: Select all
.main-image img.product-image,
.featured-view .spacer img,
.latest-view .spacer img,
.topten-view .spacer img {
    width: 100%;
}


but his image is really small. You may need to get into the code of this view nad replace it to load normal image instead of thumb.
User avatar
Moderator

GK User
Tue Jan 22, 2013 12:10 pm
Reply with quote
Report this post
I found a very simple solution. In Virtuemart are three fields to be filled:
Unique Filename
Displayed image subtitle
Image Alt-Text

I used the second field to display the size of the fish on the product page. To be shown in the pop-up window, just add Alt Text.

Another solution that I found is to change a few letters in the original "theme" from gavick.
Line 104:
from
Code: Select all
  echo $image->displayMediaFull("",true,"rel='vm-additional-images'");

to
Code: Select all
  echo $image->displayMediaThumb("",true,"rel='vm-additional-images'");


After that, the "Displaeyd image subtitle" shows in pop-up window.
User avatar
Senior Boarder

GK User
Tue Jan 22, 2013 12:38 pm
Reply with quote
Report this post
After update demo to latest template product thumbs was broken . I fix it by changing :
from
Code: Select all
<div class="floatleft">

to
Code: Select all
<div class="product-thumb">


Class > product-thumb was in the demo template .

Thank you
User avatar
Senior Boarder

teitbite
Wed Jan 23, 2013 2:17 am
Reply with quote
Report this post
elfis wrote:I found a very simple solution. In Virtuemart are three fields to be filled:
Unique Filename
Displayed image subtitle
Image Alt-Text

I used the second field to display the size of the fish on the product page. To be shown in the pop-up window, just add Alt Text.

Another solution that I found is to change a few letters in the original "theme" from gavick.
Line 104:
from
Code: Select all
  echo $image->displayMediaFull("",true,"rel='vm-additional-images'");

to
Code: Select all
  echo $image->displayMediaThumb("",true,"rel='vm-additional-images'");


After that, the "Displaeyd image subtitle" shows in pop-up window.



Hi

The second solution was exactly what I had in mind.
User avatar
Moderator


cron