VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: jjk on September 25, 2011, 14:40:24 PM

Title: [solved & fixed]Image information mixed up?
Post by: jjk on September 25, 2011, 14:40:24 PM
J1.7/VM2 svn revision 4178
In the frontend product category view, hovering over a thumbnail image displays the "Product Name" from the BE 'Product Edit' - 'Product Information' tab instead of the 'Displayed Title' set on the 'Product Images' tab - Image Information. Working as designed or mixed up? :-)

Under the 'Product Images' tab - 'Image Information', the 'Displayed title' appears to be used only in the 'Media List View' and the 'Meta tags' appear to be unused. (Which meta tags did you intend to display?)

You can use the web developer toolbar 'Information' - 'View Title Attributes' and 'Images' - 'Display Alt Attributes' to see the results (if the entry fields contain values).

[attachment cleanup by admin]
Title: Re: Image information mixed up?
Post by: Milbo on September 26, 2011, 20:10:00 PM
Sounds a bit mixed up yes.

The displayed title is the for the link and the meta is for the alt text, we may rename it to make it clearer. On the other hand, for people who dont know the background, it is also important to know that the alt text is important for seo
Title: Re: Image information mixed up?
Post by: jjk on September 26, 2011, 20:15:34 PM
Quote from: Milbo on September 26, 2011, 20:10:00 PM
On the other hand, for people who dont know the background, it is also important to know that the alt text is important for seo

I did already change the string to "Image Alt Text" on my PC, but didn't commit that change in the ini file because I thought it's better to wait until the small mixup is solved in SVN. :-)
Title: Re: Image information mixed up?
Post by: jjk on September 30, 2011, 10:01:21 AM
J1.7.1/VM2 SVN revision 4211

The current code in line 446 of ...\administrator\components\com_virtuemart\helpers\mediahandler.php
displays the alt text permanently on the frontend category list and product details page. Apparently needs another small adjustment :-)

See screenshots below

[attachment cleanup by admin]
Title: Re: Image information mixed up?
Post by: Milbo on September 30, 2011, 11:17:07 AM
The displayed description should appear beyond the image, that is right. Like in lateX, or in a book.

I added it now to the fullimage and it with parameter so as templater you can remove it.
Title: Re: Image information mixed up?
Post by: jjk on September 30, 2011, 12:23:42 PM
Ok - Commit 4214 looks better to me  :) Thanks!
...I was just about to reply with one more complaint about the previous version, which looked to me like an unsucessful attempt to add captions to the lightbox images  ;D