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: Thumbs and Images

Thumbs and Images 12 years, 11 months ago #1654

  • irag10
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hello,

I want to make the slideshow resize the thumbs image(small ones) and make it crop the images used in the main body(big ones )

Is this possible? and how?

Furthermore i am using theme1 and the intro text in the main body is not showing very well, can i change the opacity from somewhere?

Re: Thumbs and Images 12 years, 11 months ago #1655

  • admin
Dear Irag10

Please try with my way

Open modules\mod_yt_content_slideshowii\assets\ytc_content_slide_ii.php file find this code:

if (!isset($item['thumb']) && $item['img'] != '') {
	$item['thumb'] = $this->processImage($item['img'], $this->thumb_width, $this->thumb_height, $item['id']);
	
} else {
	$item['thumb'] = '';
}
if($this->imagesource == 1){
	$item['thumb'] = $item['img'];
}
if (!isset($item['small_thumb']) && $item['img'] != '' && $this->small_thumb_width > 0 && $this->small_thumb_height > 0 ) {
	$item['small_thumb'] = $this->processImage($item['img'], $this->small_thumb_width, $this->small_thumb_height, $item['id']);
} else {
	$item['small_thumb'] = '';
}


and change to
if (!isset($item['thumb']) && $item['img'] != '') {
		$this->cropresizeimage = 1; // Crop Mode
	$item['thumb'] = $this->processImage($item['img'], $this->thumb_width, $this->thumb_height, $item['id']);
	
} else {
	$item['thumb'] = '';
}
if($this->imagesource == 1){
	$item['thumb'] = $item['img'];
}
if (!isset($item['small_thumb']) && $item['img'] != '' && $this->small_thumb_width > 0 && $this->small_thumb_height > 0 ) {
	$this->cropresizeimage = 0; // Resize Mode
	$item['small_thumb'] = $this->processImage($item['img'], $this->small_thumb_width, $this->small_thumb_height, $item['id']);
} else {
	$item['small_thumb'] = '';
}

Re: Thumbs and Images 12 years, 11 months ago #1658

  • irag10
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Thank you!! Worked perfectly!
  • Page:
  • 1
Time to create page: 0.22 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