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

TOPIC: No Image Dispalying

No Image Dispalying 10 years, 5 months ago #4627

  • Aaron Robertson
No images are displaying in the slider when the module uses Ytools to re-size the image. Looking at the image source path being generated it becomes clear why there is no image.
---
www.domain.com///home/public/www/www/cache/mod_sj_vm_slickslider/227b70760e226f5960dc84434ae422b5.jpeg
---

I think the solution is somewhere in this code string from ytools.php. I just don't know what to change...

if (is_array($width)){
			$config = $width;
			$width  = isset($config['output_width'])  ? $config['output_width']  : null;
			$height = isset($config['output_height']) ? $config['output_height'] : null;
			$config['function'] = in_array($config['function'], array('none', 'center', 'fill', 'fit', 'stretch'))
									? 'resize_' . $config['function']
									: $config['function'];
		}
		
		if (!is_string($image)){
			return false;
		} else if (isset($config['function']) && $config['function']=='resize_none'){
			if (!self::isUrl($image)){
				$image = JURI::root() . '/' . str_replace('\\', '/', $image);
			}
			return $image;
		} else if (self::isUrl($image)){
			$get_url_cache = self::getRemoteFile($image);
			if (is_array($get_url_cache)){
				$image = array_pop($get_url_cache);
			} else {
				return $image;
			}
		}


Any help would be greatly appreciated.

Re: No Image Dispalying 10 years, 4 months ago #4762

  • admin
  • OFFLINE
  • Platinum Boarder
  • Posts: 1081
  • Karma: 14
Dear Aaron Robertson

I could not verify your account. Can you give me your username to check?

Thanks
Join our Clubs to download our extensions and templates
  • Page:
  • 1
Time to create page: 0.24 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.

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