Jump to content

"Is Not A Recognized Image" ERROR


julbr
 Share

Recommended Posts

Hello Everyone!

I was trying to upload images into a page, and it gave me the "Is not a recognized image" error. Now every time i try to go into the page to edit it, it takes me to a screen where the page editor is missing and the error is showing on the top. I am attaching an image of the error.

Any ideas??

THANKS!!

Julian 

post-2291-0-21131000-1412600563_thumb.pn

Link to comment
Share on other sites

Hello! Thank you for your answer horst. I still can't get it to work, i think it is not the same error as the post you pointed to. Here's my error with debug mode on:

TemplateFile: thumbnail_4_copiar.jpg is not a recogized image<pre>#0 /home/bts003/public_html/site/modules/FieldtypeCropImage.module(90): ImageSizer->__construct('/home/bts003/pu...') #1 /home/bts003/public_html/wire/core/Wire.php(381): FieldtypeCropImage->getThumb(Object(HookEvent)) #2 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('getThumb', Array) #3 /home/bts003/public_html/site/modules/InputfieldCropImage/InputfieldCropImage.module(80): Wire->__call('getThumb', Array) #4 /home/bts003/public_html/site/modules/InputfieldCropImage/InputfieldCropImage.module(80): Pageimage->getThumb('thumbnail', 'projects_photos...') #5 /home/bts003/public_html/site/modules/InputfieldCropImage/InputfieldCropImage.module(55): InputfieldCropImage->_getCropLinks('thumbnail,200,2...', '/admin/page/ima...', Object(Pageimage)) #6 /home/bts003/public_html/wire/modules/Inputfield/InputfieldFile/InputfieldFile.module(153): InputfieldCropImage->renderItem(Object(Pageimage), 'projects_photos...', 2) #7 [internal function]: InputfieldFile->___renderList(Object(Pageimages)) #8 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #9 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('renderList', Array) #10 /home/bts003/public_html/wire/modules/Inputfield/InputfieldFile/InputfieldFile.module(183): Wire->__call('renderList', Array) #11 /home/bts003/public_html/wire/modules/Inputfield/InputfieldFile/InputfieldFile.module(183): InputfieldCropImage->renderList(Object(Pageimages)) #12 /home/bts003/public_html/wire/modules/Inputfield/InputfieldImage/InputfieldImage.module(30): InputfieldFile->___render() #13 /home/bts003/public_html/site/modules/InputfieldCropImage/InputfieldCropImage.module(24): InputfieldImage->___render() #14 [internal function]: InputfieldCropImage->___render() #15 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #16 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('render', Array) #17 /home/bts003/public_html/wire/core/InputfieldWrapper.php(282): Wire->__call('render', Array) #18 /home/bts003/public_html/wire/core/InputfieldWrapper.php(282): InputfieldCropImage->render() #19 [internal function]: InputfieldWrapper->___render() #20 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #21 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('render', Array) #22 /home/bts003/public_html/wire/core/InputfieldWrapper.php(282): Wire->__call('render', Array) #23 /home/bts003/public_html/wire/core/InputfieldWrapper.php(282): InputfieldWrapper->render() #24 /home/bts003/public_html/wire/modules/Inputfield/InputfieldFieldset.module(18): InputfieldWrapper->___render() #25 [internal function]: InputfieldFieldset->___render() #26 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #27 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('render', Array) #28 /home/bts003/public_html/wire/core/InputfieldWrapper.php(282): Wire->__call('render', Array) #29 /home/bts003/public_html/wire/core/InputfieldWrapper.php(282): InputfieldFieldset->render() #30 [internal function]: InputfieldWrapper->___render() #31 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #32 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('render', Array) #33 /home/bts003/public_html/wire/modules/Fieldtype/FieldtypeRepeater/InputfieldRepeater.module(214): Wire->__call('render', Array) #34 /home/bts003/public_html/wire/modules/Fieldtype/FieldtypeRepeater/InputfieldRepeater.module(214): InputfieldWrapper->render() #35 [internal function]: InputfieldRepeater->___render() #36 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #37 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('render', Array) #38 /home/bts003/public_html/wire/core/InputfieldWrapper.php(282): Wire->__call('render', Array) #39 /home/bts003/public_html/wire/core/InputfieldWrapper.php(282): InputfieldRepeater->render() #40 [internal function]: InputfieldWrapper->___render() #41 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #42 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('render', Array) #43 /home/bts003/public_html/wire/core/InputfieldWrapper.php(282): Wire->__call('render', Array) #44 /home/bts003/public_html/wire/core/InputfieldWrapper.php(282): InputfieldWrapper->render() #45 /home/bts003/public_html/wire/modules/Inputfield/InputfieldForm.module(53): InputfieldWrapper->___render() #46 [internal function]: InputfieldForm->___render() #47 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #48 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('render', Array) #49 /home/bts003/public_html/wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module(134): Wire->__call('render', Array) #50 /home/bts003/public_html/wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module(134): InputfieldForm->render() #51 /home/bts003/public_html/wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module(119): ProcessPageEdit->renderEdit() #52 [internal function]: ProcessPageEdit->___execute() #53 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #54 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('execute', Array) #55 /home/bts003/public_html/wire/core/ProcessController.php(196): Wire->__call('execute', Array) #56 /home/bts003/public_html/wire/core/ProcessController.php(196): ProcessPageEdit->execute() #57 [internal function]: ProcessController->___execute() #58 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #59 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('execute', Array) #60 /home/bts003/public_html/wire/core/admin.php(64): Wire->__call('execute', Array) #61 /home/bts003/public_html/wire/core/admin.php(64): ProcessController->execute() #62 /home/bts003/public_html/wire/modules/AdminTheme/AdminThemeDefault/controller.php(13): require('/home/bts003/pu...') #63 /home/bts003/public_html/site/templates/admin.php(15): require('/home/bts003/pu...') #64 /home/bts003/public_html/wire/core/TemplateFile.php(140): require('/home/bts003/pu...') #65 [internal function]: TemplateFile->___render() #66 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #67 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('render', Array) #68 /home/bts003/public_html/wire/modules/PageRender.module(337): Wire->__call('render', Array) #69 /home/bts003/public_html/wire/modules/PageRender.module(337): TemplateFile->render() #70 [internal function]: PageRender->___renderPage(Object(HookEvent)) #71 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #72 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('renderPage', Array) #73 /home/bts003/public_html/wire/core/Wire.php(381): Wire->__call('renderPage', Array) #74 /home/bts003/public_html/wire/core/Wire.php(381): PageRender->renderPage(Object(HookEvent)) #75 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('render', Array) #76 /home/bts003/public_html/wire/modules/Process/ProcessPageView.module(152): Wire->__call('render', Array) #77 /home/bts003/public_html/wire/modules/Process/ProcessPageView.module(152): Page->render() #78 [internal function]: ProcessPageView->___execute() #79 /home/bts003/public_html/wire/core/Wire.php(359): call_user_func_array(Array, Array) #80 /home/bts003/public_html/wire/core/Wire.php(317): Wire->runHooks('execute', Array) #81 /home/bts003/public_html/index.php(194): Wire->__call('execute', Array) #82 /home/bts003/public_html/index.php(194): ProcessPageView->execute() #83 {main}</pre>

I HOPE YOU CAN HELP ME!!!

Link to comment
Share on other sites

He uses a CropImagefield, and the Error is explainend exactly! in the link I have posted in my first answer. And it is not another error, it is exactly the same, because there is only one place in PW pageimage / imagesizer where this is done, (writing Errormessages into a image-variation.).

So please, @julbr, read the explanation in the thread I have linked too. There is also described that you can open the image-variation and or the original image in a simple Texteditor to see what the error was when trying to resize / upload the image. Can you tell me what there is to read. Also the filesize is only a few Bytes.

thumbnail_4_copiar.jpg is not a recogized image ... site/modules/FieldtypeCropImage.module

Edited by horst
  • Like 3
Link to comment
Share on other sites

Hello @horst, thank you again for the attention. Sorry if i missunderstood your answer, i did read through it and tried the suggested change with php_value memory_limit on htaccess but it still doesn't work. I'm not a professional in the area of servers and server configuration. When opening the files with a text editor ( if i didn't get you wrong, you are suggesting to open the image files in the corresponding "files" folders from the site with a text editor ), this is the only thing i find that is readable:

Cropped File:

ˇÿˇ‡JFIFˇ˛;CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 90
ˇ€C
 

Original File:

ˇÿˇ‡JFIFHHˇ·,éExifII*    zÄô°(2©iá^CanonCanon PowerShot SX100 ISHH2008:03:17 18:47:45ìΩéì·œâ5mw≈±ÿÍ
î )p&0ò¯    E     "–™    #J$NR%Ó'¸(–-`ˇˇ@ˇˇˇ`ÍpË_›ˇˇ¿¿ˇˇˇˇˇˇPpÊ≠D†_I·aP˙IMG:PowerShot SX100 IS JPEGFirmware Version 1.00≈õ%*@lˇˇˇ˝ˇˇˇˇˇˇˇ

I went through the files gibberish twice and didn't find what you suggested, also tried to find it with the search tool. I know it's annoying when people don't know these things, but i really need to find a solution! I will much appreciate your answer.

Link to comment
Share on other sites

I try to sum up what I have read from your posts:

You have uploaded an image named "4_copiar.jpg" into a CropImage field:

  • Did you get errors during upload?
  • How looks the Default-Thumbnail in Backend (the 4_copiar.0x100.jpg)?

How do you go to the editor?

  • Is there a link under a Thumb?
  • How is the name of the Link?
  • What is it's exact content, (the Link-URL with query)?

What are the settings for 'thumbnail' in the Imagefield-InputTab under ThumbSettings?

Link to comment
Share on other sites

Hello horst, i'm answering on top of your questions. I'm not sure if it is clear or not, but the problem i'm getting is that when i try to access a page's editor, the whole editor is blank, i just get the header and the footer for the admin, and the error quoted is on top.

You have uploaded an image named "4_copiar.jpg" into a CropImage field: ->(Yes correct)

  • Did you get errors during upload?->(After clicking the upload button, the page refreshed and the error quoted in the image on the first message of this forum thread appeared. The editor for the page in conflict was now blank.)
  • How looks the Default-Thumbnail in Backend (the 4_copiar.0x100.jpg)? ->(I'm sorry but i do not know how to acces this, where is it?)

How do you go to the editor? ->(If you mean the editor for the page in conflict, here is the answer, if not, please clarify which editor)

  • Is there a link under a Thumb?->(No, to access the editor i use the "Edit" button to edit this page which is now in conflict)
  • How is the name of the Link? ->(It's the Edit button for the page in the section "Admin > Pages".)
  • What is it's exact content, (the Link-URL with query)? ->(This is the link: "http://www.prenova.com.ar/admin/page/edit/?id=1012")

What are the settings for 'thumbnail' in the Imagefield-InputTab under ThumbSettings? ->(The field is called "projects_photos", the field type is cropimage and the settings for Thumbnail Settings in the "Input" tab are: "thumbnail,200,200" .)

Thank you very much for your patience and your help,

Julian

Link to comment
Share on other sites

@julbr: 

You have uploaded an image named "4_copiar.jpg" into a CropImage field: ->(Yes correct)

And after that you get the error: thumbnail_4_copiar.jpg is not a recognized image.

Please have a look into /home/bts003/public_html/site/assets/files/1012/ for the files: 4_copiar.jpg, thumbnail_4_copiar.jpg and 4_copiar.0x100.jpg.

Can you please any of them you find pack into a zip and upload here? At least the first two should be there, maybe that the 4_copiar.0x100.jpg is missing.

Link to comment
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...