#16 Image Import

open
nobody
Other (18)
5
2010-04-03
2010-04-03
Chribaku
No

im Verzeichnis stehen anschließend Dateien, die keine Bilder sind:
1. ohne Erweiterung, die sich nicht bzw. nur mit UNLOCKER löschen lassen.
Beispiel: GC1AV7W804994567. oder GC1VCA5804994567.
2. Dateien mit der Erweiterung .html die eigentlich Bilder (.jpg) sind.
Beispiel: GC1TWWG423047970.html oder GC1TWWG260811497.html (rename hilft)
3. Dateien mit der Erweiterung .aspx dateien, bei denen es sich um .png's handelt
Beispiel: GCM3MY817843956.aspx (auch hier hilft rename)
Oder ist diese Erweiterung Programm-Intern Ok, denn es gibt auch jede menge .pl, php und php3 dateien die Bilder enthalten

Discussion

  • rstweb

    rstweb - 2010-08-16

    The problem occurs if linked images doesn't provide an extension. Especially if images are pushed by a script. A solution would be that the header of the file is read out and because of that the filetype/extension is recognized.

     
  • hulkman

    hulkman - 2010-08-19

    with the latest improvements in image import is this bug still happenning? I don't quite understand what's the problem because it's in german...

     
  • rstweb

    rstweb - 2010-08-19

    no, it is not. the problem occurs when a page/script does not pull a real file name. then the problem would be that the filename cachebox gets has no extension or a wrong extension (the one of the scipt like .php or something else). the problem could be solved in one way:
    if the image is downloaded, a check of the extension (which will already be detained) is made. if the extension is not png, jpg, jpeg or bmp, than cachebox looks into the header of the file and determines the filetype and so the extension.
    at the moment, i'm reading a little bit about how to detect images by reading the file. but i won't be able to create a patch this week and from saturday on i will be on holidays for 1.5 weeks.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks