Jump to content

Problem with Images not showing


Guest saltsalty

Recommended Posts

Guest saltsalty

Hi,

We are having a problem with our images we are using 3.0.0 and we are uploading the images which upload to the correct folder but do not display on the site, we just get a small red x. We have checked the permissions and they are all correct.

Can anyone offer any help?

The error can be seen here Website

Regards

Adam

Link to comment
Share on other sites

Guest vrakas

You are using jpg extension so you need to do the following.

In admin/filemanager/upload.php

about line 165 find } elseif ($HTTP_POST_FILES....

add at the end before the final )

AND $HTTP_POST_FILES['FCKeditor_File']['type'] != "image/jpg"

This will solve your problem :(

Link to comment
Share on other sites

Guest magyver

Hi just a quick question:

I had CC301 working with .jpg images but was having problems with Shopping basket. So I did a new install of CC302 and shopping basket seems to be fine but now i'm having problem with .jpg images.

What is the best image format to use?

Link to comment
Share on other sites

Guest fergz2005

hi i am also having this problem with 3.0.2

this a snipit of line 161 - 165

	<?php }  ?>

	<p align="center"><?php if(isset($_POST['submit'])){ ?><INPUT type="button" class="submit" value="<?php echo $lang['admin']['filemanager']['back']; ?>" onclick="history.back()"><?php } ?> 

	<INPUT type="button" class="submit" value="<?php echo $lang['admin']['filemanager']['close_window']; ?>"  onclick="<?php if(isset($_POST['redir'])) { echo "window.opener.location.reload();"; } ?> javascript:window.close();"></p>

	</BODY>

</HTML>

Thanks

Link to comment
Share on other sites

Guest fergz2005

Hi,

Brooky has a fix. You just have to find it. He recrunched the /classes/gd.inc.php wich fixed the problem.

do you where i can get it? or have you got it you could send me.

Thanks

Link to comment
Share on other sites

Guest saltsalty

You are using jpg extension so you need to do the following.

In admin/filemanager/upload.php

about line 165 find } elseif ($HTTP_POST_FILES....

add at the end before the final )

AND $HTTP_POST_FILES['FCKeditor_File']['type'] != "image/jpg"

This will solve your problem :lol:

Hi,

We have tried that fix but it has not worked for us.

Any other suggestions?

Regards

Adam

Link to comment
Share on other sites

Guest vrakas

magyver

Brooky has a fix. You just have to find it. He recrunched the /classes/gd.inc.php wich fixed the problem

This is the link:

Image upload in 3.02

i dont think this is what you need :innocent:

It seems that GIF is working ok but i am still using version 3.00 with jpg and i am to skeptic to try the upgrade as i have made to many changes :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...