Automatic Link to PinPics
All pin images on Pin Pics are addressed by /img/pXXXX/pinNNNNN, where NNNNN is the pin number and XXXX is the pin number divided by 50 (just to keep the directories reasonably sized). If you want smaller thumbnails, append "th72" or "th200" for 72x72 or 200x200 thumbnails, respectively. For instance, the 72x72 thumbnail for pin 51212 above is at: http://www.pinpics.com/img/p1024/pin51212th72This is a feature we've had since DPF started, but we haven't officially announced it since we're trying to get it to link to the pin's picture as well.
All pin images on Pin Pics are addressed by /img/pXXXX/pinNNNNN, where NNNNN is the pin number and XXXX is the pin number divided by 50 (just to keep the directories reasonably sized). If you want smaller thumbnails, append "th72" or "th200" for 72x72 or 200x200 thumbnails, respectively. For instance, the 72x72 thumbnail for pin 51212 above is at: http://www.pinpics.com/img/p1024/pin51212th72
One thing I may do soon is add ".jpg" to the end of all the pin image names since Apache sometimes gets confuzzled. I'll probably leave the original filenames around as well, since they get linked from all over the place.
Thanks SO much for letting us know!It just occurred to me that you may not be able to do the divide by 50 with vBulletin's custom bbcode feature, so I've added a way for you to link directly to pin thumbnails. Try using http://pinpics.com/cgi-bin/pinimgSS.cgi/NNNNN , where SS is the size you want (72 or 200) and NNNNN is the pin number. For example: http://pinpics.com/cgi-bin/pinimg72.cgi/51212
That kind of link should work nicely in a vBulletin bbcode macro.
<a class="pinlink" href="http://pinpics.com/cgi-bin/pin.cgi?pin={param}">Pin# {param}<span><img src="http://pinpics.com/cgi-bin/pinimg200.cgi/{param}" /></span></a>
<link rel="stylesheet" type="text/css" href="http://pinpics.com/css/hover.css" />
<script src="http://pinpics.com/cgi-bin/hover.cgi/Pinpics%3A+Pin+%23{param}" type="text/javascript"></script>
Actually I've changed my mind again (yay!). I like this approach much better:
PIN bbcode:
This lets me fill in a whole lot more information, and even improve it in the future. The result looks like this:HTML:<script src="http://pinpics.com/cgi-bin/hover.cgi/Pinpics%3A+Pin+%23{param}" type="text/javascript"></script>
http://pinpics.com/hover2.html
The downside is it requires javascript, but then again so does vBulletin so it's no real loss.
Basically whatever you put after the "hover.cgi/" becomes the text of the link. You'll need to use CGI substitutions, like + for space and %XX for special hex codes that can't be put into URL's (like %3A for the colon and %23 for the # sign).
Anyhow, it's a work in progress.
Quite alright; don't worry about it -- the suggestion is more than enough!Oiy, nothing's ever easy is it? There's probably some magical CSS incantation to make it work, and I'll also play with it the next time I get a chance.
We're dealing with some frozen water lines right now, so it may be a few days (or longer) before I can get back to playing with the site.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?