Jump to content

google image search


DeathMarine

Recommended Posts

Posted

I was suggested to put my question here so here it goes.

Is there a way to make image attachments into nice URLs instead of

mysite.com/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=???

to something of the affect

mysite.com/nameofimage.jpg

i would like the pictures to be easily and properly picked up by google.

when i search my site through google image search i get picture names like this "post-83928374928340238940.jpg"

thanks for reading this.

Posted

Getting the image name to change isn't very easy from post-83928374928340238940.jpg to nameofimage.jpg as having it the other way prevents duplicates from being uploaded.


Also if you have FURL enabled that should fix your first problem, if you do have it enabled you could pull that off by modifying your .htacess

Posted

you can mark it with the postid like

mysite.com/forum/topic-34/postID/nameofimage.jpg

unless the person is uploading the same picture multiple times i dont see why it would be hard to implement.

Posted

you can mark it with the postid like



mysite.com/forum/topic-34/postID/nameofimage.jpg



unless the person is uploading the same picture multiple times i dont see why it would be hard to implement.




I have at least 3 or 4 "photo.jpg" images on my computer that are different images with the same name (in different folders obviously). All it would take is for me to upload 2 of those to conflict...
Posted

couldn't it check to see if the file name exists and add a number to make the names different?




Yes, in theory (though if you have 20,000 "photo.jpg" images already, that could take a while).

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...