I want to allow hotlinking

garybean

Joined: 2009-03-25
Posts: 6
Posted: Wed, 2009-03-25 22:08

I found out that there's a user created module for this, but I cannot find it. What is it? I want other websites to be able to link to the images, and be able to use the images for data feeds, so I need to have an image URL that ends with the .jpeg extension.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-03-25 22:16

You can link to items already unless you've explicitly set the option to deny hotlinking in the URL Rewrite plugin.

But I think you might be thinking of this plugin: http://codex.gallery2.org/Gallery2:Modules:geturls that allows for easily getting the URLs of items without going through a few steps.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
garybean

Joined: 2009-03-25
Posts: 6
Posted: Wed, 2009-03-25 22:27

They need to be in .jpeg format, and even with this module, I get the following display
<a href="http://images.beanproducts.com/gallery2/main.php?g2_itemId=16"><img src="http://images.beanproducts.com/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=17" alt="avocadomatbag_800" /></a>

I want the img src to be xx.jpg.

 
garybean

Joined: 2009-03-25
Posts: 6
Posted: Wed, 2009-03-25 22:29

I need the actual image location, in .jpeg format.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-03-25 23:00

Oh, install, activate and configure the URL Rewrite module also.

See my site, linked below, and right-click on any image, View Image and you'll see they all have .jpg (or .gif) extension)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
garybean

Joined: 2009-03-25
Posts: 6
Posted: Wed, 2009-03-25 23:23

Thanks. My headache is subsiding now. Excellent!