#2781 - political_logo not where expect, nor appears to be included in install at all
| Identifier | #2781 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | political_logo not where expect, nor appears to be included in install at all |
| Status | Closed (no changes needed) |
| Handling member | Chris Graham |
| Addon | banners |
| Description | Attempting to view the political_logo banner comes up with a Error 500 message.
It is looking for the banner in: uploads/banners/scaled%20banner%202x%20reduced.png And when searching my webhost files there is no political_logo file anywhere. The other banner files are in /data/images/ directory. Specifically, the "advertise_here.png", "donate.png" and the "placeholder_leaderboard.jpg" are in that directory. Should not all banners be in the uploads/banner/ directory rather than in the data/images one? |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".
Comments
The uploads directory is reserved for stuff actually manually uploaded, as it is liable to be erased upon reinstalls. data/images is often used for stock images that aren't theme images.
The disk filename is usually either randomised or based on the uploaded file's name, rather than the resource codename. The URL for it gets encoded, so for example spaces become %20.
However of course there should be no 500 error. Is anything in your error logs about this, or is there any Composr error message associated? Do you mean when the banner is clicked, or when you view it's stats?
But thanks for clarifying "upload" directory versus "data/images". That helps in the future.
Please change this to the appropriate "closed" status.