GK5 not display default image for virtuemart products

GK User
Mon Feb 08, 2016 1:51 pm
Hi there,
News Show Pro module GK5 of home does not show me the default image for the virtuemart products.
It is the image that should be displayed if the product does not have an image loaded.
This was setup in virtuemart settings.

The default image is displayed well in the category view and in product detail. So I think that the problem must have the module News Show Pro GK5.

Best regards,
Hernan
User avatar
Senior Boarder

teitbite
Sat Feb 13, 2016 7:35 pm
Hi

NSP is only showing what can be found in content of article/product, so if there is no image it will not show one. But NSP has it's own system for default images. I see it was explained here: https://www.gavick.com/forums/255/how-t ... ge#p129149
User avatar
Moderator

GK User
Sat Feb 13, 2016 11:19 pm
Hello teitbite, you could tell me what the correct name must be given to png file
I proved with the names it says in the post but it does not work.

Regards,
Hernan
User avatar
Senior Boarder

teitbite
Thu Feb 18, 2016 7:50 pm
Hi

Default files should be keept in /modules/mod_news_pro_gk5/cache/default folder. You will have to create it and names should be:

defaultnsp-99.png

or

default.nsp-99.png

Actually I'm not sure which one is correct since I've been using this method once in the past only.
User avatar
Moderator

GK User
Fri Feb 19, 2016 4:09 pm
Hi,
It does not work with any of the two names.

Recently I sent a private message.

Regards.
Hernan
User avatar
Senior Boarder

teitbite
Tue Feb 23, 2016 5:18 pm
Hi

Thanks for the access, but to test that I will need an access to ftp. Please send it to me.
User avatar
Moderator

GK User
Tue Feb 23, 2016 6:17 pm
Hi,
I sent a private message.

Regards.
Hernan
User avatar
Senior Boarder

teitbite
Fri Feb 26, 2016 2:22 pm
Hi

I'm afraid an access You've send me in not working or just incomplete. I used Your sites url as host address and this may be wrong, but there were no host in Your message.

Please check and send me correct access.
User avatar
Moderator

GK User
Sat Feb 27, 2016 12:15 am
Hi,
I sent a private message.

Regards.
Hernan
User avatar
Senior Boarder

teitbite
Tue Mar 01, 2016 11:57 am
Hi

I'm afraid no difference with the newest access as well.

I've looked into the code and default image is picked up like this:

Code: Select all
$IMG_SOURCE = $uri->root().'modules/mod_news_pro_gk5/cache/default/default'.$config['module_id'].'.png';


this means that it has to be located in /modules/mod_news_pro_gk5/cache/default/ folder and named:
"default714.png"
User avatar
Moderator


cron