DeathMarine Posted August 27, 2010 Share Posted August 27, 2010 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§ion=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. Link to comment Share on other sites More sharing options...
.Peter Posted August 27, 2010 Share Posted August 27, 2010 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 Link to comment Share on other sites More sharing options...
DeathMarine Posted August 28, 2010 Author Share Posted August 28, 2010 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. Link to comment Share on other sites More sharing options...
bfarber Posted August 30, 2010 Share Posted August 30, 2010 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... Link to comment Share on other sites More sharing options...
DeathMarine Posted August 31, 2010 Author Share Posted August 31, 2010 couldn't it check to see if the file name exists and add a number to make the names different? Link to comment Share on other sites More sharing options...
bfarber Posted September 1, 2010 Share Posted September 1, 2010 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). Link to comment Share on other sites More sharing options...
DeathMarine Posted September 3, 2010 Author Share Posted September 3, 2010 would putting the title of the picture in the actual <img> help at all for google image search? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.