Teaser Image erroring out
rasp1 64
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Teaser Image erroring out
rasp1
OP
64
From: -
From: -
Fixed it, though, just added the i into the original line of code, the other line just broke it somehow.
1 Re: Teaser Image erroring out
Philipp Esselbach
From: -
Editor
0From: -
I think I found the reason. Open /cadmin/filetypes/admineditfiletype.php in an editor and replace:
with:
Now go through the file types that you have previously edited to increase the upload size and change "This is an image and can be used for both avatars and thumbnails" to Yes. This should fix the upload problem.
$html -> makeselect( $words_filetypes[ 'FILE_TYPE_IS_IMAGE' ], "input_filetype_ismage", $input_filetype_isimage, $words_filetypes[ 'YES' ] . " " . $words_filetypes[ 'NO' ] );
with:
$html -> makeselect( $words_filetypes[ 'FILE_TYPE_IS_IMAGE' ], "input_filetype_isimage", $input_filetype_isimage, $words_filetypes[ 'YES' ] . " " . $words_filetypes[ 'NO' ] );
Now go through the file types that you have previously edited to increase the upload size and change "This is an image and can be used for both avatars and thumbnails" to Yes. This should fix the upload problem.
1 Re: Teaser Image erroring out
rasp1
OP
64
From: -
From: -
I made a vid of it if you would like to see. It is 2 MB though.
1 Re: Teaser Image erroring out
rasp1
OP
64
From: -
From: -
Yes, it is now happening on every image, when I first try to add the teaser for that story. After I have upload the story, and edit it with no changes to the image, I can upload it.
1 Re: Teaser Image erroring out
Philipp Esselbach
From: -
Editor
0From: -
Does this happened with every image? If not, please attach an example image in your reply.
This has just started today when I try and add a teaser image to a news story:
Error: The file type is not on the list of the allowed image types.
And these aren't some off the wall format, but just regular jpg jpeg and gif images. I usually go back to the story and edit it, and when I do it will let me add the teaser image then.