Search…

X3 Photo Gallery Support Forums

Search…
 
MarcoF
Experienced
Topic Author
Posts: 43
Joined: 14 Jan 2013, 13:23

hide "imagevuex.php" in Sharing link

15 Jan 2013, 08:37

Hello,

If anybody will share a picture on facebook or twitter or Email the link will shown imagevuex.php.

Can i hide this?

Thank you very much
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: hide "imagevuex.php" in Sharing link

16 Jan 2013, 01:30

I think you can copy it to, say, i.php and change iv-includes/templates/default/index.share.phtml accordingly where it says:
Code
<meta property="og:url" content="<?php echo htmlspecialchars(pageURL() . 'imagevue.php?share=/' . $this->item->getPrimary()); ?>" />
firedev.com
 
MarcoF
Experienced
Topic Author
Posts: 43
Joined: 14 Jan 2013, 13:23

Re: hide "imagevuex.php" in Sharing link

18 Jan 2013, 07:23

Is it possible to change the "link-look"
from the current
http://www. . ....... .. .. .com/imagevue.php/?.../.img.294.jpg

to anything like this

http://www..... ... .com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: hide "imagevuex.php" in Sharing link

18 Jan 2013, 11:12

If you gonna share an image, it needs to be a link to the image ... How can it just end with ".com"?
 
MarcoF
Experienced
Topic Author
Posts: 43
Joined: 14 Jan 2013, 13:23

Re: hide "imagevuex.php" in Sharing link

18 Jan 2013, 12:27

i mean anything like this code:

<a href="http://sitename.com"><img src="http://.....content/picture2007/image.jpg" height="20"></a>

or
<a href="http://www.sitename.com/imagevue.php.....">Imagename only</a>

Or hide "imagevue.php" via htaccess?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: hide "imagevuex.php" in Sharing link

19 Jan 2013, 01:28

I am not sure why you are offering html code with <a> and <img> tags ... The share link must be an URL (nothing to do with html), that points to the Imagevue script with parameters that tells what image to share. This is how Facebook gets the thumbnail, title and description also, by checking the given link with parameters so it can read the meta data. You cant remove these parameters ... Sorry. The links could look different, but we need to point to a controller script to make sure it also handles redirect of different devices.

You cannot "hide" anything with htaccess, although you can redirect ... but not sure where you would redirect, as it has to go to that page anyway.

Not sure why it is so critical to remove "imagevue.php", as it hardly seen for just a few seconds before it redirects. I wouldn't even notice it, and if I did, I certainly would not care.
 
MarcoF
Experienced
Topic Author
Posts: 43
Joined: 14 Jan 2013, 13:23

Re: hide "imagevuex.php" in Sharing link

19 Jan 2013, 02:35

Hello,

I am wondering if i click at any picture and open this picture in a new browser tab, and see the pure picture link its just like this:
http://www.mydomain.com/images/gallery/ ... arco15.jpg

And if i share this picture its:
http://www.mydomain.com/images/gallery/ ... arco23.jpg


Its not critical to remove imagevue.php but i answered only if i have a chance to hide this and also get a fully pure link..
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: hide "imagevuex.php" in Sharing link

20 Jan 2013, 00:40

You mean you want to change the sharing links so that they point directly to the file instead of inside your gallery? This means that when someone clicks to view the file from Facebook (etc.), they will see the picture but will not be able to access anything else.
 
MarcoF
Experienced
Topic Author
Posts: 43
Joined: 14 Jan 2013, 13:23

Re: hide "imagevuex.php" in Sharing link

21 Jan 2013, 13:33

oh no, thats not what i want...


i think its been easier to change imagevue.php to another name, but ok,
if thats not possible, what should i do..

ok

thank you..
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: hide "imagevuex.php" in Sharing link

22 Jan 2013, 23:53

How to change imagevue.php in the link:

viewtopic.php?p=32849#p32849
firedev.com
 
MarcoF
Experienced
Topic Author
Posts: 43
Joined: 14 Jan 2013, 13:23

Re: hide "imagevuex.php" in Sharing link

26 Jan 2013, 16:30

Sorry but the link don't change with this code.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: hide "imagevuex.php" in Sharing link

27 Jan 2013, 07:43

MarcoF wrote:Sorry but the link don't change with this code.
No it is not possible. Furthermore, I think you have misunderstood how things work ...
MarcoF wrote:Its not critical to remove imagevue.php but i answered only if i have a chance to hide this and also get a fully pure link..
How can it be a pure link if it needs to link to the image inside your gallery? You could make it "pure" by linking directly to the image, but then nobody will see your gallery of course. You can't change how linking on the internet works.
 
MarcoF
Experienced
Topic Author
Posts: 43
Joined: 14 Jan 2013, 13:23

Re: hide "imagevuex.php" in Sharing link

31 Jan 2013, 07:39

Hello,

I have seen at mariusphoto gallery that in the links are nothing about "imagevuex.php" .

I think if you write in your Purchase description that we have no restrictions and can remove imagevue backlink, then you could not name a main php called "IMAGEVUE". With this, the removal "option" is not the truth for me, sorry.

Sorry but thats not OK for a commercial Licence.



Regards
 
MarcoF
Experienced
Topic Author
Posts: 43
Joined: 14 Jan 2013, 13:23

Re: hide "imagevuex.php" in Sharing link

31 Jan 2013, 07:42

And Im not angry or anything else.

The gallery is beautiful and great work. But I hope you understand and comprehend what i mean.


Thank you
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: hide "imagevuex.php" in Sharing link

31 Jan 2013, 11:31

where exactly are you seeing this link though? When someone shares a link, it does not actually display this link on Facebook. Also, when they click the link, they will be redirected to a non-imagevue-php link anyway. At best, "imagevue.php" will be visible in the link for a 1-2 seconds while it redirects ... I doubt anyone will notice it ...

This is the file that controls all actions in Imagevue, and we had to call it something.
MarcoF wrote:I have seen at mariusphoto gallery that in the links are nothing about "imagevuex.php" .
As I mentioned, I am not really sure where you see "imagevue.php" anyway, but do you have a link to this gallery you mention? I am not sure what the difference is supposed to be ...