View Full Version : Direct Link
December 16th, 2007, 08:17 AM
Hello, when uploading photos and using spaces in the title of the photos, when I go to use the direct link to insert that photo into a blog using vblog it does not like the spaces in the link. How can I fix this with photopost.
December 16th, 2007, 12:31 PM
Well this does not appear to be an issue with Photopost in anyway. Sorry I do not use vblog and can not tell you how to modify that program to support that.
December 16th, 2007, 03:38 PM
Well it is not just a vblog issue rather the way photopost creates the link. It there a command so photopost will add an underscore or dash in the title name for the link.
December 16th, 2007, 04:07 PM
You need to post a link to such an image direct link here for me to respond because to my knowledge we already do that in our fixfilenames function.
December 16th, 2007, 06:23 PM
Here you go
http://myzipple.com/pp/data/679/medium/East Room2 (1).JPG
http://myzipple.com/pp/data/679/medium/East Room2 (2).JPG
December 16th, 2007, 08:08 PM
they work fine in a browser that I see so the issue would need to be in vbblog.
As far as our program that I see if I upload a photo with a space in the name it is redone with an underscore so where these images from some import from another gallery or something?
The thing here is everything works in Photopost. Everything works if you place the direct link in a browser or html page so the only place you have an issue is with vb blog which means the issue is in their program. There is not much I can tell you about that issue since photopost appears to operate fine with these images.
December 16th, 2007, 08:50 PM
If photopost is supposed to put the underscore in there why did it not put the underscore in during upload?
December 16th, 2007, 09:19 PM
I asked you did you import those images from another gallery?
I uploaded a test it clearly works as in replaces a space with an underscore
Are your files current and unmodified? Have you tried doing a test?
December 17th, 2007, 07:25 AM
No, they were not imported from another gallery. They were just uploaded normally through the upload process. They were named first then uploaded. I have not modified anything. Where is the code located that places the underscore in so I can check if it is there?
December 17th, 2007, 09:02 AM
The code is in pp-inc.php the fixfilenames function and as shown if i upload a photo with a space in the filename it is renamed. If you post a url and test login here we can upload to your site should work without issue.
December 17th, 2007, 10:10 AM
December 17th, 2007, 10:16 AM
I see the file space was replaced by an underscore like it should
December 17th, 2007, 05:21 PM
December 17th, 2007, 06:09 PM
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.