4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: Cat on January 18, 2003, 02:16:36 PM
-
I'm trying to add "html" as media type..make the 4images to read ready htmls. I get the htmls uploaded, but when viewing the "html" i get a text
./data/media/32/lessonnew28.html
instead of the html itself.
I added the mime type to be $mime_type_match['html'] = array("text/html");
I wonder what i'm doing wrong as page displays just the path to file. Maybe the html.html media type? I wasn't sure what to add there.
Or i'm trying something impossible? Adding html into html? Uh oh!
Anyone can help with this issue..? It would be apprecciated and lots:=)
I couldn't find any topic on this specific issue.. i did seach here and got the basics set up so far.
*Edited: To be more specific..i want to do this without using iframes but instead "embed" the htmls into page, and avoid the extra scrollbars.
-
How does your template" media/html.html" looks like?
Jan
-
It looks like this as i couldn't figure any other way doing it but the iframes:
<!-- Template file for html Files -->
<table cellpadding="1" cellspacing="0" border="0" width="700">
<tr>
<td><iframe src={media_src} width="700" height="500" type="text/html"></iframe>
</td>
</tr>
</table>
<br />
but i'd want skip the iframes, and what ever i have tried, i have been without luck. Is there a way to add it as being "embedded" there?
Thank you too for answering so quick:=)
-
I don't know another way to embed html files in another way.
Jan
-
Sigh i suppose i'll have to use the iframes then..Seems i'm always asking something odd. What i was after is some sort of "add on" into the php script so i could have added just the {media_src} there and it would have opened up like the basic templates open up. I prollay explain this too hard ways, i mean modified code that "opens" the html itself there without using iframes.
Anyhow thanks for your time..maybe i next time ask something "normal":=)
As add on to the earlier q i asked while back.. there are isps that use always new ip when connecting to web page; each image for instance is read by diff ip, eg some individual aol isps..so the "downloading index.php" problem cannot be solved with everyone i believe unless ppl change their servers. Other ways, the fix with missing / (which is posted here) for netscape works with opera too.
-
Thanks this is great!
Put it in the FAQ / next release