PHP WEB SCRIPTS    Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Image in Link: height and width attribute

 
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion
View previous topic :: View next topic  
Author Message
Richardw



Joined: 27 Nov 2003
Posts: 257
Location: Toronto, Ontario Canada

PostPosted: Thu Jun 18, 2015 6:23 am    Post subject: Image in Link: height and width attribute Reply with quote

Can I add height and width attribute to images that I add to a Link?

I added an image to a link (height="16" width="16") and it is displayed much larger so it is distorted.
_________________
Richard E. Ward
Looksee.info
LookSee Bookstore Shop
Beyond Motivation by James Tackaberry McCay with Richard E. Ward
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6233

PostPosted: Thu Jun 18, 2015 7:27 am    Post subject: Reply with quote

Please specify what's the image which you mean. There are used many images.
Back to top
View user's profile Send private message
Richardw



Joined: 27 Nov 2003
Posts: 257
Location: Toronto, Ontario Canada

PostPosted: Thu Jun 18, 2015 9:29 am    Post subject: Reply with quote

I uploaded an image when I was creating a link.

The image, a flag, is 16 x 16. It is from a series that I am using across my websites.

I have since deleted the image.
_________________
Richard E. Ward
Looksee.info
LookSee Bookstore Shop
Beyond Motivation by James Tackaberry McCay with Richard E. Ward
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6233

PostPosted: Thu Jun 18, 2015 12:31 pm    Post subject: Reply with quote

If it was an image in a link, it's this tag in the template link_a.txt:
<img border="0" src="#%image_1%#" alt="#%title_no_tag%#" style="float: left; margin: 0px 5px 0px 0px;">
There is not defined the width and height because it's used for all links. The size of the preview images is editable in configuration, also this is valid for all images.
Back to top
View user's profile Send private message
Richardw



Joined: 27 Nov 2003
Posts: 257
Location: Toronto, Ontario Canada

PostPosted: Thu Jun 18, 2015 1:33 pm    Post subject: Reply with quote

OK.

So I can create another template perhaps named link_f.txt and add the height and width attributes to "img".
_________________
Richard E. Ward
Looksee.info
LookSee Bookstore Shop
Beyond Motivation by James Tackaberry McCay with Richard E. Ward
Back to top
View user's profile Send private message
Richardw



Joined: 27 Nov 2003
Posts: 257
Location: Toronto, Ontario Canada

PostPosted: Thu Jun 18, 2015 3:47 pm    Post subject: Reply with quote

I created a copy of the template as link_a_f.txt.

Changed the setting in the Category and here you go:

http://looksee.info/links/looksee-worldwide.html.

I'll play around with the template and see if I can move the flag up to the upper section.
_________________
Richard E. Ward
Looksee.info
LookSee Bookstore Shop
Beyond Motivation by James Tackaberry McCay with Richard E. Ward
Back to top
View user's profile Send private message
Richardw



Joined: 27 Nov 2003
Posts: 257
Location: Toronto, Ontario Canada

PostPosted: Thu Jun 18, 2015 3:50 pm    Post subject: Reply with quote

Heh. The period at the end of the URL killed that:

http://looksee.info/links/looksee-worldwide.html
_________________
Richard E. Ward
Looksee.info
LookSee Bookstore Shop
Beyond Motivation by James Tackaberry McCay with Richard E. Ward
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group