samtiria / nextgen-gallery

Automatically exported from code.google.com/p/nextgen-gallery
0 stars 0 forks source link

Using global functions for image / thumbnail urls #327

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be helpful to use a global function f.e. 
nggGallery::get_image_url($picid) or nggGallery::get_thumbnail_url($picid) for 
all image calls. 
You only have to modify those 2 function if you are using a subdomain for image 
delivery. 

Original issue reported on code.google.com by roland.b...@gmail.com on 16 Nov 2010 at 8:39

GoogleCodeExporter commented 8 years ago
What is your intention ? To get a url based on the call 
nggGallery::get_image_url($id) or modify the url path for all images ?

Original comment by alex.cologne on 19 Nov 2010 at 6:02

GoogleCodeExporter commented 8 years ago
Sorry misread you request, forget my previous comment. See filter 
'ngg_get_image' in lib/image.php , here you can easily modify the url (since 
1.7.0 available)

Original comment by alex.cologne on 20 Nov 2010 at 9:20