Jump to content

Small images and no zoom!


accessorihifi
 Share

Recommended Posts

  • 3 weeks later...
  • 1 month later...

You need to edit ebay.php in the modules folder.

 

Please note updates do wipe this out and always backup:

 

go to around line 2097 and change:

$picturesMedium[] = str_replace('https://', 'http://', $prefix . $link->getImageLink('ebay', $product->id . '-' . $image['id_image'], 'medium' . ($this->isVersionOneDotFive('>=', '1.5.1') ? '_default' : '')));

to:

$picturesMedium[] = str_replace('https://', 'http://', $prefix . $link->getImageLink('ebay', $product->id . '-' . $image['id_image'], 'large' . ($this->isVersionOneDotFive('>=', '1.5.1') ? '_default' : '')));

need to check if same case with new update will post if has changed

Share this post


Link to post
Share on other sites

You need to edit ebay.php in the modules folder.

 

Please note updates do wipe this out and always backup:

 

go to around line 2097 and change:

$picturesMedium[] = str_replace('https://', 'http://', $prefix . $link->getImageLink('ebay', $product->id . '-' . $image['id_image'], 'medium' . ($this->isVersionOneDotFive('>=', '1.5.1') ? '_default' : '')));

to:

$picturesMedium[] = str_replace('https://', 'http://', $prefix . $link->getImageLink('ebay', $product->id . '-' . $image['id_image'], 'large' . ($this->isVersionOneDotFive('>=', '1.5.1') ? '_default' : '')));

need to check if same case with new update will post if has changed

Hi

 

These lines are not available in ebay.php, would you please specify ?

Share this post


Link to post
Share on other sites

Hi intx

 

me too, i don't have this code in ebay.php

 

But, i found in: classes/EbaySynchronizer.php -- Line: 554

 

Change:

                (isset($large_pictures[0]) ? '<img src="'.$large_pictures[0].'" class="bodyMainImageProductPrestashop" />' : ''),
                (isset($medium_pictures[1]) ? '<img src="'.$medium_pictures[1].'" class="bodyFirstMediumImageProductPrestashop" />' : ''),
                (isset($medium_pictures[2]) ? '<img src="'.$medium_pictures[2].'" class="bodyMediumImageProductPrestashop" />' : ''),
                (isset($medium_pictures[3]) ? '<img src="'.$medium_pictures[3].'" class="bodyMediumImageProductPrestashop" />' : ''),

To:

                (isset($large_pictures[0]) ? '<img src="'.$large_pictures[0].'" class="bodyMainImageProductPrestashop" />' : ''),
                (isset($medium_pictures[1]) ? '<img src="'.$large_pictures[1].'" class="bodyFirstMediumImageProductPrestashop" />' : ''),
                (isset($medium_pictures[2]) ? '<img src="'.$large_pictures[2].'" class="bodyMediumImageProductPrestashop" />' : ''),
                (isset($medium_pictures[3]) ? '<img src="'.$large_pictures[3].'" class="bodyMediumImageProductPrestashop" />' : ''),

For me it's good...

Edited by dobi19100 (see edit history)

Share this post


Link to post
Share on other sites

hello,
if you want to avoid wasting time and get professional assistance with an advanced module with advanced features that allow you to better manage your items on ebay, look at our video presentation:
http://www.prestalia.it/videotutorial/

IF YOU ARE THE FORUM AND WE SEND AN E-MAIL YOU RECEIVE A DISCOUNT COUPON.

Our mail: [email protected]

 

best regards

Share this post


Link to post
Share on other sites

  • 1 month later...

Hi intx

 

me too, i don't have this code in ebay.php

 

But, i found in: classes/EbaySynchronizer.php -- Line: 554

 

Change:

                (isset($large_pictures[0]) ? '<img src="'.$large_pictures[0].'" class="bodyMainImageProductPrestashop" />' : ''),
                (isset($medium_pictures[1]) ? '<img src="'.$medium_pictures[1].'" class="bodyFirstMediumImageProductPrestashop" />' : ''),
                (isset($medium_pictures[2]) ? '<img src="'.$medium_pictures[2].'" class="bodyMediumImageProductPrestashop" />' : ''),
                (isset($medium_pictures[3]) ? '<img src="'.$medium_pictures[3].'" class="bodyMediumImageProductPrestashop" />' : ''),

To:

                (isset($large_pictures[0]) ? '<img src="'.$large_pictures[0].'" class="bodyMainImageProductPrestashop" />' : ''),
                (isset($medium_pictures[1]) ? '<img src="'.$large_pictures[1].'" class="bodyFirstMediumImageProductPrestashop" />' : ''),
                (isset($medium_pictures[2]) ? '<img src="'.$large_pictures[2].'" class="bodyMediumImageProductPrestashop" />' : ''),
                (isset($medium_pictures[3]) ? '<img src="'.$large_pictures[3].'" class="bodyMediumImageProductPrestashop" />' : ''),

For me it's good...

Hallo,

is not that I use the thickbox pictures that?
I change large_pictures with thickbox_pictures replace with img search, and did not go.
what I have done wrong

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More