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

Thumbs and Images 9 years, 7 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 9 years, 7 months ago #1655

  • admin
  • OFFLINE
  • Administrator
  • Posts: 1081
  • Karma: 14
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'] = '';
}
Join our Clubs to download our extensions and templates
The following user(s) said Thank You: irag10

Re: Thumbs and Images 9 years, 7 months ago #1658

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

Sj CarsFast Release

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
Quà Tết Cao Cấp Hộp quà tết Giỏ quà tết Túi quà tết