Advertisement:

Author Topic: [Plugin] Pre-resize Images (v. 2.3.0 released)  (Read 35853 times)

yellow53

  • Full Member
  • ***
  • Posts: 142
Re: [Plugin] Pre-resize Images
« Reply #45 on: May 30, 2016, 06:04:04 pm »
Hi guys,

I have 3 osclass website, and all using Pre-resize Images plugin.
For 2 of these sites it's working 100% perfect.

For the third one, i'm having the same issue all time :

Warning: exif_read_data(qqfile_574c472e425a4.JPG): Illegal IFD size in /home/labour9/public_html/velos/oc-includes/osclass/classes/ImageResizer.php on line 59

Warning: exif_read_data(qqfile_574c472e425a4.JPG): Illegal IFD size in /home/labour9/public_html/velos/oc-includes/osclass/classes/ImageResizer.php on line 59


Do you know, where it could come from ?

all my osclass websites are using the same theme (flatter) with same plugin installed and same osclass version (3.6.1)


many thanks for you help
Vincent

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [Plugin] Pre-resize Images
« Reply #46 on: May 30, 2016, 07:04:20 pm »
Hi,

Check the message previous to yours (mine), I don't think that problem has anything to do with Osclass, but with a given image. ???

Regards

yellow53

  • Full Member
  • ***
  • Posts: 142
Re: [Plugin] Pre-resize Images
« Reply #47 on: May 30, 2016, 10:13:53 pm »
well, thanks for your reply, but i tried with around 20 different images.
So I don't think it's coming from here...

and these images are uploading correctly on my other osclass website.

any other idea which could help ? :)

thanks
vincent

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [Plugin] Pre-resize Images
« Reply #48 on: May 30, 2016, 10:42:13 pm »
I see. Please disable the plugin and repeat the test. No problems then?

Regards

yellow53

  • Full Member
  • ***
  • Posts: 142
Re: [Plugin] Pre-resize Images
« Reply #49 on: May 30, 2016, 11:11:57 pm »
i just tried after disable the plugin, and yes it's working well.

any idea?

Vincent

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [Plugin] Pre-resize Images
« Reply #50 on: May 31, 2016, 01:47:36 am »
 ???

Quote
all my osclass websites are using the same theme (flatter) with same plugin installed and same osclass version (3.6.1)

All three of them on the same server? ???

Regards

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: [Plugin] Pre-resize Images
« Reply #51 on: May 31, 2016, 06:37:58 pm »
I'm facing a similar situation. It'd be great if there is a solution. For me, i see the error when using an ios mobile device

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [Plugin] Pre-resize Images
« Reply #52 on: May 31, 2016, 07:34:48 pm »
Hi,

As said, never saw this problem myself, but let's make a little experiment. Replace line 268 in oc-content/plugins/preResize_images/index.php:

Code: [Select]
includeExif:false,
with

Code: [Select]
includeExif:true,
Regards


SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: [Plugin] Pre-resize Images
« Reply #53 on: May 31, 2016, 07:48:17 pm »

Code: [Select]
includeExif:false,with
Code: [Select]
includeExif:true,
Regards

Hi teseo,
Could you tell us what exactly does this change do (technically)?

fog

  • Hero Member
  • *****
  • Posts: 1062
Re: [Plugin] Pre-resize Images
« Reply #54 on: May 31, 2016, 08:06:57 pm »
hi, @stevejohnson on line : 268 on index.php file

Use notepad++ for find it

I not tried the plugin on live service... in soon I will do that.

Good plugin teseo  :)

Regards

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: [Plugin] Pre-resize Images
« Reply #55 on: May 31, 2016, 08:16:01 pm »
hi, @stevejohnson on line : 268 on index.php file

Use notepad++ for find it

I not tried the plugin on live service... in soon I will do that.

Good plugin teseo  :)

Regards

That's not what i was asking Fog

fog

  • Hero Member
  • *****
  • Posts: 1062
Re: [Plugin] Pre-resize Images
« Reply #56 on: May 31, 2016, 08:39:30 pm »
Sorry my mistake.  :D

For part of your question, and is not a good answer by me to you, but you can find in jquery.fineuploader.min the code related.

Regards

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [Plugin] Pre-resize Images
« Reply #57 on: May 31, 2016, 09:11:33 pm »
Quote
Could you tell us what exactly does this change do (technically)?

Look for "exif' in Google ( sorry no internet connection right now)

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: [Plugin] Pre-resize Images
« Reply #58 on: May 31, 2016, 11:41:40 pm »
It appears EXIF is nothing but meta data about some file formats like jpeg, jpg. Well, nothing wrong in giving a shot. I'll try your test and reply here tomorrow.

yellow53

  • Full Member
  • ***
  • Posts: 142
Re: [Plugin] Pre-resize Images
« Reply #59 on: June 01, 2016, 12:30:09 am »
Hi Teseo,

To reply to your question, yes it's the same server.

I just tried your solution and it's look like to work ;) great job !

many thanks
vincent