4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: HelpMeNow on June 14, 2003, 03:56:38 PM
-
Is there a way to show .txt or .html files in the details page. Like when users upload an image file...what if they upload a txt file. I would like to be able to have detail page show the content of the txt file or the html file....can someone help. thanks
-
well txt is possible but html files i think not
-
well txt is possible but html files i think not
yes, any files is possible ;) (this (http://come.no-ip.com/details.php?image_id=7550) game is 100% html and JS)
two steps u need to do:
1. create new template with name of your files exetension (i.e. txt.html ) and place it in /templates/<yourtemplate>/media/ folder (look in jpg.html template for the avalable tags).
2. add the extension in 4images settings
-
well i don't know the thing with html files *gg*
-
okay everyone...thanks for you help. I didn't know it as easy as just creating a template for .txt or .html. :oops:
:)
-
Dear v@no
Did you use frames in details.php page of the gallery?
I want to display a html page like
http://mydomain.com/shower.htm?file=dfjhf&dfdsfs=0&nav=1
something like this as the details page of a thumbnail, i do not want to save the image in the database but only save the link.
I tried creating the template for .html but it does not seem to work
-
Did you use frames in details.php page of the gallery?
no, I use <iframe src="{media_src}"></iframe>
*ofcourse with some "needed" extra parameters
-
Dear V@no,
I am new to Php and mysql, :oops:
In this page http://imgem.psych.uic.edu/2ddata/details.php?image_id=3
Click the download button - the page that is displayed is what i want to be the detail image. But when i use the link as the image path i cannot upload the image- i get check the field- Image
Help pls
-
hope you can help... I set up the iframes for .txt and all is well except there seems to be no parameter to prevent text from scrolling to the right. for instance- looks a word pad doc with the wordwrap off. I tried CSS on the iframe to no avail. Any ideas would be much appreciated as we do not want to have to put returns in every line befor uploading
-
I want to display a html page like
http://mydomain.com/shower.htm?file=dfjhf&dfdsfs=0&nav=1
I figured out
Use http://mydomain.com/shower.htm?file=dfjhf&dfdsfs=0&nav=1.htm :wink: as the image path after creating the htm.html template file (using iframe)
Thanks guys,