PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Showing the direct link of uploaded image (http://www.photopost.com/forum/photopost-pro-how-do-i/138296-showing-direct-link-uploaded-image.html)

stckhlm October 28th, 2008 04:05 PM

Showing the direct link of uploaded image
 
Hi,
I have a problem with showing the direct link of the uploaded image.

The setting for the medium picture size is as below :

Trigger medium graphic height and width : 720

But as you can see from below example, when you upload a bigger size picture, it doesnt show the original uploaded picture link. I beleive, Direct Link should show the original uploaded picture. But it give me medium size picture code.

DW Gallery - Free Image Hosting - Maskeli_Be_ler

So how can i make it show the original uploaded picture in Direct Link section ?

Regards

Chuck S October 28th, 2008 04:21 PM

Actually those links are designed to show the medium images not large images. So you can not do as you wish without some type of code alteration.

stckhlm October 28th, 2008 04:28 PM

So isnt it possible to show the original uploaded image ?

Its quite important for me. Some users post the HD movies screenshots to my gallery and they use the image links in forums. So sometime they have to use the direct link of the image. And if the direct link show 720px (width) instead of 1280px or 1920px, it will cause some serious problems.

Do you mind if i ask for an advise about code alteration ?

Chuck S October 28th, 2008 08:59 PM

well this is right in showphoto.php

Code:

Content visible to verified customers only.
Have you tried not using the lightbox and showpopup options so the large opens in the photopost page?

stckhlm October 30th, 2008 08:10 AM

Thanks a lot Chuck S

File : Showphoto.php
Line : 1671

Original : $showdirectcode = "$imgurl";
Changed to : $showdirectcode = "{$Globals['datadir']}/{$storecat}/$bigimage";

Chuck S October 30th, 2008 08:15 AM

;) Have a good day.


All times are GMT -5. The time now is 11:02 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97