Jump to content

Recommended Posts

It could be 3 things

Type of image (eg: JPG, IMG )

Size of the image file

Size of the image itself (W by H)

 

The easiest way, is to test out other image files, or check, lets say if you've uploaded a JPG, and it shows up, and the file that isn't showing, is JPG, then we can ignore the type of image.

Now we can keep the file as JPG, but maybe create an image the same file size, bit a smaller image itself (W by H). If that doesn't show up still, then easy solution is, its the size of the file. Though, if it shows up, its the size of the image itself.

 

Alot of work there to check out if it works.

 

If you find the problem, and you don't know how to change the sizes, or type.

Post the code, and someone will assist you.

 

Hope this actually helps you.

Link to comment
https://forums.phpfreaks.com/topic/152103-photo-cant-display/#findComment-798820
Share on other sites

yup, im keeping track of the image type etc...but the file thats not showing is the file that is

 

[bLOB - 2.5  MiB]

 

but other files like

[bLOB - 262.6  KiB]

[bLOB - 406.5  KiB]

[bLOB - 39.1  KiB]

 

they show

 

 

and when a person uploads they have more than enough space

 

<form enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="changer">
<input name="MAX_FILE_SIZE" value="512000000000" type="hidden">
<input name="image" accept="image/jpeg" type="file">
<tr><td><?php echo "<input type='hidden' name='usernamecookie' value='$usernamecookie'>"?></tr></td>
<tr><td><?php echo "<input type='hidden' name='iduser' value='$id'>"?></td>
<input value="Submit" type="submit" name="submit">

Link to comment
https://forums.phpfreaks.com/topic/152103-photo-cant-display/#findComment-798823
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.