Sida 1 av 1

Fundering kring: Attachment Mod

Postat: 2005-12-21 10:42
av WickeD
Hej!

En liten fundering.

Om jag bifogar en bild i ett inlägg och det syns inte en bild utan det blir en Download länk i mitt inlägg, vad är det som ställer till det? Är det att min bild är större än tillåten storlek i pixlar?

Och vart ändrar jag det i så fall?

Postat: 2005-12-21 11:40
av Holger
Vad är det för bild? Visas den aldrig? Eller bara ibland?
JPG?
I så fall har du ställt in att de inte ska visas "inline"!

Postat: 2005-12-21 11:53
av WickeD
Det spelar ingen roll vad den är i för format, det är när jag bifogar en större bild som den visas med en Download länk.

Bifogar jag en bild i tex storlek 500x250 så visas den i inlägget.

Jag försökte bifoga en bild som är i storlek: 5650x550 och då blir det en Download länk i inlägget.

Postat: 2005-12-21 11:58
av Holger
Då kanske det verkligen beror på inställningar i ACPn:
bilagor
och
Fil-epitet
och
Hantera typer av fil-epitet

Postat: 2005-12-21 13:03
av yoshy
Under ACP->Filtyper->Specialkategorier finns det en inställning som gör att bilder blir en länk om den är större än ett visst format...

kan vara den som krånglar...

Postat: 2005-12-21 13:16
av WickeD
Holger skrev: I så fall har du ställt in att de inte ska visas "inline"!
Är det här man ställer in det: Administrera filtypsgrupper?

Detta är ett ställe i ACP´n som jag aldrig har varit å rört något förut, jag vet inte vad man ska göra och kan göra för inställningar här.

Vad betyder: inline och physical?
Och är dessa inställningar bara för Forumet?

Postat: 2005-12-21 13:23
av WickeD
Tack så mycket yoshy!

Det var där problemet var :D

Nu fungerar det.

Postat: 2005-12-21 16:18
av dallas
http://www.opentools.de/docs/user_guide.html
There are two possible Download Methods you are able to use: physical and logical.

The physical method:
This will point the attachment link to the original File. If you (or a user) click on an Attachment which Extension Group is set to physical download method, the browser will point directly to this file. Of course the download.php file is called to check Permissions and other things, but the delivery method consist of a simple Location Header (or Refresh if the Server does not Support this Header).
The downside of this method is that Users sometimes receive cryptic Filenames (with random Numbers at the end) and your Upload Directory has to be accessible from the Internet.
Therefore, this method should only be used for Extensions that need the File in complete. I only know of one: Real Media Files. Additionally, try this Download Method if you think your downloaded Files got garbled.

The logical method:
The Logical Download Method is the standard Method to use. It's for pointing the User to the correct Attachment and presenting them the correct Name for the Attachment, even if it's saved differently at your webspace. Even if the Upload Directory is not accessible from the Internet, the File gets downloaded correctly.
dallas