maschek / imgmap

Javascript based imagemap editor
https://www.maschek.hu/imagemap/
GNU General Public License v2.0
59 stars 33 forks source link

Uploaded image doesn't show up #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. First, thank you Adam for making this. It's the best image mapping tool
for online use I have found. I have put the files on our server so students
can learn image mapping. They are in the same structure as was extracted
from the download. When accessing example1 here:
http://hwla.org/imgmap/examples/example1.html, I can get in images fine
from web URL, but when I upload image from harddrive it doesn't show up
when I click on Accept button. The php script obviously executes and gives
feedback, and says image is uploaded. I have also tried to keep directory
names the same as the Online Tool, but in no case does uploaded image show
up for working on. I'm using IE 6.0.2900.2180 and Firefox 2.0.0.6. I set
the permission for the php script to 755 and for all the 5 .js scripts in
the root of imgmap to 555.
2.
3.

What is the expected output? What do you see instead?

Expected output is to see image to work on. Instead just little square
shows up.

What version of the product are you using? On what operating system?

I'm using imgmap2.0beta5.zip on WinXP Pro.

Please provide any additional information below.

Thanks for any help.
My email is jchj____________AT__________gmx.net

Original issue reported on code.google.com by j...@gmx.net on 12 Jan 2008 at 4:46

GoogleCodeExporter commented 9 years ago
To solve the problem:

1. Create a php-writable directory "temp" in example1_files
2. modify upload.php, set:
$basedir   = 'example1_files/';

I will include the fix in new releases, thanks for spotting.

Original comment by adam.mas...@gmail.com on 12 Jan 2008 at 10:37

GoogleCodeExporter commented 9 years ago
I am having the same trouble....yet changing the above still generates the small
broken page image?????

Original comment by zachary....@gmail.com on 25 Jan 2010 at 8:48

GoogleCodeExporter commented 9 years ago
@zacfak

Do you see any images uploaded to the temp directory? Do you have a restrictive
upload max filesize php configuration? How big is the file you want to upload?

Original comment by adam.mas...@gmail.com on 7 Mar 2010 at 10:52