Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

How Can I replace default "no picture" icon
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: How Can I replace default "no picture" icon

How Can I replace default "no picture" icon 9 years, 3 months ago #9260

Thank you,
my site is www.tgladies.com

J
The topic has been locked.

Re: How Can I replace default "no picture" icon 9 years, 3 months ago #9285

Dear james averill,

Please send screenshot to us?

Thanks
The topic has been locked.

Re: How Can I replace default "no picture" icon 9 years, 3 months ago #9316

The attached image shows the default picture I would like to replace with a different one.

Thank you
Last Edit: 9 years, 3 months ago by javerill.
The topic has been locked.

Re: How Can I replace default "no picture" icon 9 years, 3 months ago #9340

Dear

Do you want replace the image (www.tgladies.com//cache/mod_sj_basic_news/2771a4a7e31bd6ab2bde1466e0b4688c.gif) with a different one?

You can replace nophoto.gif of smartaddon (yoursite/modules/mod_sj_basic_news/assets/images/nophoto.gif) but please rename your file is nophoto.gif

Thanks
Last Edit: 9 years, 3 months ago by thuygtn.
The topic has been locked.

Re: How Can I replace default "no picture" icon 9 years, 3 months ago #9354

Yes, that is the one.

Any suggestions?

Thank you!
The topic has been locked.

Re: How Can I replace default "no picture" icon 9 years, 3 months ago #9363

Dear james averill,

You can replace your default image in 2 ways:

1. Replace our default image in yoursite/modules/mod_sj_basic_news/assets/images/nophoto.gif

2. Upload your default image into folder images (yoursite/modules/mod_sj_basic_news/assets/images). Then open file basicnewsreader.php (yoursite/modules/mod_sj_basic_news/core/basicnewsreader.php) and find:
if ('none' == $params['item_thumbnail_mode']){					
					$item->image = (empty( $item->thumb) || !file_exists($item->thumb[0]) ) ? 'modules/mod_sj_basic_news/assets/images/nophoto.gif' : $item->thumb[0]  ;					
				} else {
					$item->image= (empty( $item->thumb ) || !file_exists($item->thumb[0])) ? 'modules/mod_sj_basic_news/assets/images/nophoto.gif' : $item->thumb[0];
					if (false != $item->image && !YTools::isUrl($item->image)){
						$item->image = YTools::resize($item->image, $params['item_thumbnail_width'], $params['item_thumbnail_height'], $params['item_thumbnail_mode']);
					}					
				}	

Then edit nophoto.gif => your image filename

Thanks
Last Edit: 9 years, 3 months ago by thuygtn.
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 0.46 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Suggested Posts

(/)
Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes