Welcome to TalkGraphics.com
Results 1 to 10 of 10
  1. #1

    Default logo upload problem

    I have this logo which looks ok when opened in xara or IE. This logo was initially exported from xara with mostly default settings for .gif file. But when I uploaded it to the site, it has uneven edges and looks very different (you can see it at www.card-perfect.com) . How can I fix this?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	logo-cp.gif 
Views:	201 
Size:	5.5 KB 
ID:	54521  

  2. #2

    Default Re: logo upload problem

    On line 92 in your source your have described the image size incorrectly:

    <img src="images/logo-cp.gif" width="229" height="95" border="0">

    It should be 301 x 75

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,509

    Default Re: logo upload problem

    Good catch Steve.

    A-W What program are you using to create your website?
    Last edited by gwpriester; 21 December 2008 at 01:04 PM.

  4. #4

    Default Re: logo upload problem

    Thanks so much Steve! I believe that is the reason. However, I haven't been able to fix it as I am not sure how to find out which file contains this info. Is there an easy way to find this out? My host account has all the files and I tried looking in most of those .php files but couldn't find this info. May be I need to continue looking.

    Hi Gary, I did not develop/code this but got this done by a company in India based on all the layout and deisgn that I provided them. I am working on adding cards etc. during whatever little time I can get.

    Thanks again!!

  5. #5
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: logo upload problem

    Hi A-W,

    The file index.php creates and sends the page to the viewer's browser.

    See the attached image for the line in the html that sets the image size. Notice that the <td> tag limits the size of the table division to 90 pixels which will also affect the image's quality.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	source.gif 
Views:	139 
Size:	39.9 KB 
ID:	54538  
    Last edited by Soquili; 22 December 2008 at 05:11 PM. Reason: correct spelling
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  6. #6

    Default Re: logo upload problem

    Quote Originally Posted by a-w View Post
    Thanks so much Steve! I did not develop/code this but got this done by a company in India based on all the layout and deisgn that I provided them.
    Happy to help A-W

    My suggestion then is that the company you paid to create the site should be responsible for fixing coding errors.

    As the site is PHP based, the code is being processed on the server before delivered to the browser as html, so this may be the reason you cannot find the error when viewing the server files via FTP.

  7. #7

    Default Re: logo upload problem

    I will see if I can contact them as it been few months now. Looks like there is no way to find other than going through each of the .php files. Not sure if that will work!!??

    Hi Bill, I checked the files as mentioned in the source code (index.php and also others) but did not find any reference to the logo file or the pixel dimension.

    Thanks!

  8. #8

    Default Re: logo upload problem

    Quote Originally Posted by a-w View Post
    I checked the files as mentioned in the source code (index.php and also others) but did not find any reference to the logo file or the pixel dimension.
    Yes this is because the site is PHP (Pre HTML Processor) based, the code is being processed on the server before delivered to the browser as html.

    The raw .php file will not look the same as the source viewed via the browser's 'source viewer'

    This is why you either need to know .php or have the Indian based company correct the error for you.

  9. #9

    Default Re: logo upload problem

    The other option (maybe easier) is to reproduce the logo with a bounding area which fits the described image dimensions of the html. Uploading this to replace the current logo will mean it at least remains in proportion

    See attached
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	logo-cp.gif 
Views:	135 
Size:	4.5 KB 
ID:	54540  

  10. #10

    Default Re: logo upload problem

    Thats correct. While I was trying this out with few of the different logos that I made, I did notice this. Sometimes it would show fine and sometimes not...now I know the reason once you pointed out.

    Thanks!

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •