LiveShop - Multipurpose Drag & Drop Shopify Theme
0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest
  • Page:
  • 1

TOPIC: No Image Dispalying

No Image Dispalying 6 years, 6 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 6 years, 6 months ago #4762

  • admin
  • NOW ONLINE
  • Administrator
  • 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.33 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
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes