WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Search Engines > Search Engine Optimization Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Search Engine Optimization Forum SEO is much easier with help from peers and experts! The WebProWorld SEO forum is for the discussion and exploration of various search engine optimization topics. Any non (engine) specific SEO or SEM topics should go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-20-2004, 07:05 AM
WebProWorld Member
 

Join Date: Aug 2004
Location: Bergen, Norway
Posts: 44
DaButcher RepRank 0
Default Work-around for php/sql image-parsing?

Hi,

I have a system for my users to upload pictures. Since several users (about 800) upload pictures in the same category, it is not a doubt that non-unique names would occur often.

Since that would occur, I thought of a good and common way to solve the issue.

I give the pictures random names (of integers).

Then I have a file, a php file, which parses the picture, based on a variable, which then points to the unique ID of the picture.

My problem is:
Since I do this, my <img> tag will look something like this:
[img]picture.php?pid=404[/img]

I know google searches both the filename of the image, as well as the alt property in the <img> tag.

To maximize my hits on my pictures, can I make some "fake" filename in the end of the SRC property of the <img> tag? eg. [img]pictures.php?pid=404&cheattext=<this text will cheat google>[/img]" />

I hope you understand what I mean.. I wonder if a "fake" variable will fool google to think that the filename is the <this text will cheat google>, aswell as the real filename and the PID variable (unique ID for the picture).

I think it's not nice to display too much information in the ALT property in the <img> tag, so I want google to find the picture not only based on the title (which I'll use for ALT), but also on the text for the image (input by user on upload).

An example of how I wonder if I can do it:
The user uploads a picture of a pizza, the pizza picture gets the pid 1919.
When someone browses the site, they see the image, based on the HTML code:

[img]picture.php?pid=1919&cheattext=Check out this pizza man! It's hella dope! 15 inches in diameter!![/img]

Will this image then get hits on searches for "Pizzaking" +"15 inches" on the image search?

should I also "spoof" a fake extension, like .jpg?
eg: [img]picture.php?pid=1919&cheattext=Check out this pizza man! It's hella dope! 15 inches in diameter!!&fakeext=.jpg[/img]

Any comments welcome :)
__________________
Olav Alexander Mjelde
Olav-x AT volvo-power.net

http://www.volvo-power.net
Admin & Webmaster
Reply With Quote
Reply

  WebProWorld > Search Engines > Search Engine Optimization Forum
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0