Fixed HTML/CSS in directory, Displaying files with an fixed html/css |
Fixed HTML/CSS in directory, Displaying files with an fixed html/css |
Flogisch |
Jul 26 2017, 03:44 AM
Post
#1
|
Group: Members Posts: 3 Joined: 26-July 17 Member No.: 26,466 |
Hey there!
Is there a way to force an html/css for a complete directory? I have uploaded images/videos to my directory "uploads" on my webhost. Now if I go to them, then I get a black background and the image will be displayed nothing else. Is it possible to add there html/css for those files to get for example a header, footer, wrapper and a fixed file size? Thanks This post has been edited by Flogisch: Jul 26 2017, 03:55 AM |
pandy |
Jul 26 2017, 09:46 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Do you mean automatically? That you could go to example.com/YourImages/ and a page with the first image would automatically load and then you could browse to the next one and so on? If that's it, you should look for gallery scripts.
|
Flogisch |
Jul 26 2017, 11:36 AM
Post
#3
|
Group: Members Posts: 3 Joined: 26-July 17 Member No.: 26,466 |
Nope, like you're uploading 2 images on your webspace. If you go on example.com/image1.png it gives you the html + image.
And the same goes for the image2.png |
pandy |
Jul 26 2017, 12:15 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I suppose with server side scripting everything is possible, but there is no automatic function that does what you want. You need to create it, one way or another.
The easiest for what you want is actually to create a HTML page that looks like you want. Then you just need to copy it and change the URL in the IMG tag for each image you upload. And go to example.com/image1.html isntead of example.com/image1.png. But I guess that's not what you want. |
Flogisch |
Jul 26 2017, 12:20 PM
Post
#5
|
Group: Members Posts: 3 Joined: 26-July 17 Member No.: 26,466 |
Yea, that's what I'm doing right now but it's a bit annoying. :/
|
Lo-Fi Version | Time is now: 18th April 2024 - 06:07 AM |