Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 13. Dec 2017, 13:13

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Graphics in top.htm
PostPosted: 3. Mar 2011, 15:25 
Offline
User avatar

Joined: 28. Feb 2011, 19:35
Posts: 19
I wanted to include a graphic in top.htm, so I added this to pictures/folder.txt:
<img src="title.gif" width="200" height="56" alt=""> and uploaded title.gif to the pictures directory.
This displayed the title graphic as I wanted, but also included it as a thumbnail.

So I moved title.gif to the main twg directory and changed pictures/folder.txt to:
<img src="../title.gif" width="200" height="56" alt="">
This does not display title.gif.

Is there another way to include a graphic in top.htm?


Top
 Profile  
 
 Post subject: Re: Graphics in top.htm
PostPosted: 3. Mar 2011, 17:28 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
what has top.htm todo with folder.txt?

If you want to include a graphic to top.htm put the code to top.htm.

- Michael


Top
 Profile  
 
 Post subject: Re: Graphics in top.htm
PostPosted: 3. Mar 2011, 18:05 
Offline
User avatar

Joined: 28. Feb 2011, 19:35
Posts: 19
If I put the image reference in top.htm it appears above the menu line - not what I need.
If I put it in pictures/folder.txt it appears in the required place below the menu line, but also appears as a thumbnail - not what I need.
If pictures/folder.txt can include an image in the pictures folder, why can't it include one from the twg folder referenced ../?


Top
 Profile  
 
 Post subject: Re: Graphics in top.htm
PostPosted: 3. Mar 2011, 18:36 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
o.k. you wrote before "I wanted to include a graphic in top.htm"

I don't understand why the first one was working with the image in the pictures folder.
Because the code is included in index.php which is in the main directory and the path has to
be relative from there.

But you can always exclude files in the config or simply rename you file e.g. to folder.bmp and include this. The browser does not use the extension but the header of the image and dispalys it properly.

- Michael


Top
 Profile  
 
 Post subject: Re: Graphics in top.htm
PostPosted: 3. Mar 2011, 19:17 
Offline
User avatar

Joined: 28. Feb 2011, 19:35
Posts: 19
Now I understand that my html is included in index.php in the main directory, everything is clear. I put the title graphic in the main directory and it worked just fine! Thank you for your quick responses.

It has taken me a few days to get to grips with TWG, but as I understand it better I like it more and I've registered my copy.


Top
 Profile  
 
 Post subject: Re: Graphics in top.htm
PostPosted: 3. Mar 2011, 21:20 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10571
:).

Have fun using TWG,
Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO