This part is what matters. It is basically tag-value as I've broken it up above. Most of the tags relate to the structure of the link bar. You need to find the one the creates the link (the 'a href=' part).
if you understand xhtml (if you don't, learn b/c you'll never understand a meta-language spitting out xhtml if you don't understand the output), then you should understand the anchor ref tag, and that the goods that you want to redirect are between the quotes.
target="_blank". you should be able to mentally start mapping the output with the script creating it. that will help you understand what is going on.
tink0509 wrote:
<a onclick="javascript:clipboardData.setData('Text','<a href="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true htmlEntities=false}" target="_blank"><img src="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true}" alt="{$theme.item.title|escape}" width="" class="" /></a>');window.status = '[F2F]{$GetUrlsData.itemId}[/F2F] copied to your clipboard for forum posting!';" href>[F2F]</a>
This part is what is generated for the click-copy links on the side. It is basically the same as the above.
yah?
tink0509
Joined: 2006-12-18
Posts: 33
Posted: Sun, 2006-12-31 23:02
SO if I change the
> {g->url arg1="view=core.DownloadItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true}
to
> {g->url arg1="http://www.yoursite.com/directory"}
it should work?
I am learning XHTML a bit so this will help.
Thanks a bunch.
tink0509
Joined: 2006-12-18
Posts: 33
Posted: Mon, 2007-01-01 02:36
I totally forgot. There are certain types of thins I am offering on my site that is code specific.
Such as offering say contact tables and extended network graphics for myspace that use a specific code.
I have a album for each kind. Album for Contact tables, album for extended network, etc. How can I specify the different codes needed for the URL rewrite and Get URL mods?
Example
Online indicators would use this type of code
<style>
table table table td.text div { background-image: url('http://xxxxxxxx.com/pub/53/53638v9ptm2jw3g.gif'); background-repeat: no-repeat; }
table table table td.text div img { visibility: hidden; }
table table table td.text table table div { background-image: none; }
table table table td.text table table div img { visibility: visible; }
</style><br><a href=http://xxxx.com title='Graphics'>Online Now Icons</a>
Does that make sense? Basically certain albums need code specific.
Thanks for the help once again. Wish I knew what I was doing...
ayamaguc
Joined: 2006-10-02
Posts: 21
Posted: Tue, 2007-01-02 17:56
tink0509 wrote:
SO if I change the
> {g->url arg1="http://www.yoursite.com/directory"}
This is my best guess.I would put it in there, try it out, and see. Compare the output to what you need it to be, adjust, etc.
ayamaguc
Joined: 2006-10-02
Posts: 21
Posted: Tue, 2007-01-02 17:58
tink0509 wrote:
Such as offering say contact tables and extended network graphics for myspace that use a specific code.
I'm sure this can be done, but it has to be done in PHP. So once you figure out what the xhtml needs to look like, get messy with conditionals in php. Or rent-a-coder or whatever to do it for you..
tink0509
Joined: 2006-12-18
Posts: 33
Posted: Tue, 2007-01-02 18:38
ayamaguc wrote:
tink0509 wrote:
Such as offering say contact tables and extended network graphics for myspace that use a specific code.
I'm sure this can be done, but it has to be done in PHP. So once you figure out what the xhtml needs to look like, get messy with conditionals in php. Or rent-a-coder or whatever to do it for you..
Thanks so much. I think I will need to find someone who could help me do it as Im, just learning xhtml and php so I dont think I will learn it in time for when I need it by.
Do you recommend someone who can possibly do this for me?
marco@mydub
Joined: 2004-01-07
Posts: 48
Posted: Fri, 2007-01-05 04:36
Is this module still valid & current with the latest :
Gallery version = 2.1.2 core 1.1.0.2 ?
Thank You,
marco
ayamaguc
Joined: 2006-10-02
Posts: 21
Posted: Fri, 2007-01-05 04:50
tink0509 wrote:
Thanks so much. I think I will need to find someone who could help me do it as Im, just learning xhtml and php so I dont think I will learn it in time for when I need it by.Do you recommend someone who can possibly do this for me?
Tink- you still looking? Let me know and I can try to dig up my guy.
scottnemiro
Joined: 2006-05-02
Posts: 57
Posted: Fri, 2007-01-05 14:24
hey guys...
i have manipulated the code to display the images how I want with alt="xxxx" functions and width"xxx" functions, but maybe in future release you can add this option through gallery.
that may not have made sense.. ex: i want my url to read: <img src="http://www.mysite.com/gallery/pics/001.jpg" alt="Images hosted by MySite" width="300">
i had to hack the geturl.tps file to do this.. i actually made mine to use in MySpace and added <center> commands and <br> commands as well..maybe it could be an option in the module interface through your admin in gallery? something to think about.
oh ya! i also added onclick="this.focus(); this.select();" in the <input> command so when you click on the formatted url it highlights the whole thing... very usefull for people that dont understand the "copy to clipboard" link to the right of the formatted url
also...if you are having a problem with MySpace displaying your formatted urls because of the "?" mark in the url, hopefully Valiant will have this fixed and release a new update of geturl module tomorrow.
tink0509
Joined: 2006-12-18
Posts: 33
Posted: Sat, 2007-01-06 20:00
ayamaguc wrote:
tink0509 wrote:
Thanks so much. I think I will need to find someone who could help me do it as Im, just learning xhtml and php so I dont think I will learn it in time for when I need it by.Do you recommend someone who can possibly do this for me?
Tink- you still looking? Let me know and I can try to dig up my guy.
Yes, I am clueless. I tried doing it myself and screwed up so much I had to uninstall and reinstall it, lol...Trial and error but I just cant figure it out.
Thanks so much ayamaguc
ayamaguc
Joined: 2006-10-02
Posts: 21
Posted: Sat, 2007-01-06 20:59
Check your PMs.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-01-08 05:28
Update
Based on v0.9.4, I have done some cleanup, fixed the trailing ? / & issue and released it as version 0.9.5.
Users of Gallery 2.2 can get the formatted urls (geturls) module in:
site admin -> plugins -> more plugins
-> change the repository settings, include the community repository
-> download the plugin list by pushing the button
-> select the formatted urls module
-> done
I just upgraded to the new version, 0.9.5, and now the admin-panel for it don't work (http://xxxxxxx/gallery/admin/?g2_subView=geturls.GetUrlsSiteAdmin)
It's just completely blank.. :S All file permissions are correct, and I can't see anything in the error_log.. What happened here?
I also want geturl to give me all formatted urls for an entire album ;)
I added a field for the lightbox ( rel="lightbox" ), But I would like to know how to recover the ID of the parent album of the image, because I wish to add a id to the lightbox ( rel="lightbox[IDalbum]" )
thanks for helps
Ok Complete Idiot here, it's been a long day and for a break from coding another site I decided to search for this module
Downloaded
Extracted Zip File
Ftp'd geturls folder to Modules folder on server
Set Chmod to 0755
Logged into Gallery
No sign under Extra in the Modules...
where have I gone wrong ?
jjmcgaffey
Joined: 2007-02-22
Posts: 1
Posted: Thu, 2007-02-22 05:20
I tried to install version 0.9.5 (tried 0.9.2 before and ran into problems - this one is better), but when I click on Install in the Modules page of my G2 installations, I get:
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 853 (gallerycoreapi::error)
* in modules/core/classes/GalleryCoreApi.class at line 881 (gallerypermissionhelper_advanced::registerpermission)
* in modules/geturls/module.inc at line 58 (gallerycoreapi::registerpermission)
* in modules/core/classes/GalleryModule.class at line 157 (geturlsmodule::upgrade)
* in modules/core/AdminModules.inc at line 64 (geturlsmodule::installorupgrade)
* in main.php at line 199 (adminmodulescontroller::handlerequest)
* in main.php at line 87
* in main.php at line 80
System Information
Gallery version 2.1.2
PHP version 4.3.10-18aaa+tigertech2 cgi-fcgi
Webserver Apache/2.0.54 (Debian GNU/Linux) FrontPage/5.0.2.2635 mod_ssl/2.0.54 OpenSSL/0.9.7e
Database mysql 4.1.11-Debian_4sarge7-log
Toolkits NetPBM, Gd
Operating system Linux elzar 2.6.8-3-686-smp #1 SMP Thu Sep 7 04:39:15 UTC 2006 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
I tried clearing the caches, but it didn't help. I'm a PHP newbie - I really have no clue where it's finding duplicate permission ids or really, what that means. Is this module colliding with the core program? Help, please!
I have not seen any post that has resolved my question.
I want to link directly to my videos to allow people to either via them inline (which is already done) or download them (which is what I would like to get this module to do).
Specifically, I would like a download link available underneath each thumbnail in the video gallery. I have looked at all the options and nothing seems to be working.
Has anyone done this or is there a way to do this?
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2007-02-28 18:36
Quote:
I would like a download link available underneath each thumbnail in the video gallery.
I think I've read this thread so many times my brain is mush.
Please bear with me however.
Right now the formatted URL displays LINK TO PAGE and SHOW IMAGE DIRECTLY fields under each image. The LINK TO PAGE only shows a link saying "click to see image" while the SHOW IMAGE DIRECTLY shows a static picture and doesn't not link
What I am looking to do is have the formatted URL module somehow combine the two. In essense be able to show the full size image remotely but have it link back to its album/page or to the main page of the gallery.
Like how the "clickable thumbnail link" but instead of the thumbnail its the full size picture.
How, or what code, can this accomplished with?
And please, I'm not even close to being a beginner with coding.
Great module. Works really well. Have one question though, bit of a newbie, so apologies if im missing something simple.
How do you get the URLs to pop up in a new (blank) window? I know its easy as anything in Dreamweaver and the like, but I have no idea with this.
Im guessing I need to change the code in the GetUrls.tpl file, Ive found what I think are the right lines, but I have no idea on what the grammer should be and short of typing in "Please open in new window" (which I dont think is the correct code) I have no idea!!!!
Thanks in advance for any help you can give.
shocksll
Joined: 2005-06-22
Posts: 352
Posted: Tue, 2007-07-17 14:52
target="_blank"
as in
<a href="http://www.google.com" target="_blank">Open Google in a New Window</a>
Steve Lineberry
vince42
Joined: 2007-07-04
Posts: 3
Posted: Tue, 2007-07-17 18:47
shocksll wrote:
target="_blank"
as in
<a href="http://www.google.com" target="_blank">Open Google in a New Window</a>
Steve Lineberry
yes, just like that!!!! can normal HTML be used though?
shocksll
Joined: 2005-06-22
Posts: 352
Posted: Wed, 2007-07-18 14:16
Yea, it's normal html in their right now, it's just encoded.
Check out this section of the geturls.tpl
{if $GetUrlsData.options.HtmlLink}
<p class="gbDescription">
{g->text text="Link to the page of the item:"}
<br />
<input onclick="this.focus(); this.select();" name="forum" type="text" readonly="true" size="{$width}" value="<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true forceSessionId=false}">click for image</a>" />
{if $GetUrlsData.showIeLinks} <a onclick="javascript:clipboardData.setData('Text','<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true forceSessionId=false htmlEntities=false}">click for image</a>');window.status = '[CLK]{$GetUrlsData.itemId}[/CLK] copied to your clipboard for forum posting!';" href>[CLK]</a>{/if}
</p>
{/if}
If you wanted them to open in a new window you would change it to be
{if $GetUrlsData.options.HtmlLink}
<p class="gbDescription">
{g->text text="Link to the page of the item:"}
<br />
<input onclick="this.focus(); this.select();" name="forum" type="text" readonly="true" size="{$width}" value="<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true forceSessionId=false}" target="_blank">click for image</a>" />
{if $GetUrlsData.showIeLinks} <a onclick="javascript:clipboardData.setData('Text','<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true forceSessionId=false htmlEntities=false}" target="_blank">click for image</a>');window.status = '[CLK]{$GetUrlsData.itemId}[/CLK] copied to your clipboard for forum posting!';" href>[CLK]</a>{/if}
</p>
{/if}
Awesome, thank you! I don't know that much about encoded HTML, and was wondering if you have a good source for learning it ... or is it always different? I might be wrong, but it seems that Myspace uses encoded HTML and that's why it's always converted when I save regular HTML in my profile. However, I always have issues with it because of spaces and periods, etc.
shocksll
Joined: 2005-06-22
Posts: 352
Posted: Wed, 2007-08-01 13:03
From my post above you can kind of figure it out.
You already know some html based on your post above
<p align="center"><a href="http://www.myurl.com"><img src="http://www.myurl.com/image.jpg" border="0"></a><a href="http://www.myurl.com"><br></a><a href="http://www.myurl.com">My Images are Cool</a></p>
And if this is supposed to be a link (from my post above)
<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true forceSessionId=false htmlEntities=false}" target="_blank">click for image</a>
You can see the encoded parts
< = <
" = "
> = >
That's pretty much all you need for this case.
BTW, the code inside the {} is the smarty syntax. If you plan on doing much template editing I would suggest you become fimilar with that syntax.
Steve Lineberry
tim254
Joined: 2007-07-30
Posts: 3
Posted: Wed, 2007-08-08 20:22
Thanks Steve, now it makes sense. I really appreciate your help!
-
Tim
ZyreX
Joined: 2004-03-04
Posts: 43
Posted: Fri, 2007-08-10 06:59
edit: It already had that function, that's great. lol.
Etobow
Joined: 2007-07-31
Posts: 9
Posted: Sat, 2007-08-25 12:44
Well here's my comment about this. I love it. I was tired of using Imageshack or xs.to for hosting my images, and I wanted to have them all safely stored on my webhost account. Yours work great, but I hate the fact that I must go through a few clicks before I get to the actual linking codes. This is particulary annoying when I batch upload images. Then I have to make a few clicks for each image. So if you could minimize clicks needed to get to the codes, to get batch linking codes and to maybe select images to get linking codes for with separators that would be splendid. That's my opinion about this module.
skeal
Joined: 2007-02-18
Posts: 3
Posted: Mon, 2007-10-01 11:24
same wish from me... batch-urls ... not to klick on any picture to get their links...
first could be to geht the links of whole of the album... you can select the right ones afterwards with deleting the unwanted entries
designsbybnc
Joined: 2007-10-11
Posts: 13
Posted: Sat, 2007-10-13 18:56
I'm trying to figure out if there's a way to make it so that only the owner of an album can see the URL links to the images. I have everything set up right for the most part. If I'm logged in as a normal user, I can see the urls and everything works fine. Problem is I want to stop registered users from getting the urls or other users albums. I'm not the best at coding and this is very new to me as far as gallery use, so any help would be greatly appreciated.
Thanks in advance.
skunker
Joined: 2005-02-04
Posts: 344
Posted: Thu, 2007-11-08 00:35
Does anyone know how to change the size of the thumbnail that is printed when using the "show a clickable thumbnail" bbcode URL? Currently, it's a bit too small and I want to increase the size to maybe 150px.
Dave,
Thanks for responding. IF we can't change the size of the thumbnails for the preformatted URLS (aside from having to change it for my gallery as a whole), then, can we have a feature request of displaying the resized version (non-thumbnail, non-original) that, when clicked, goes to the item page?
Update: It seems that "BBCode inline image" does what I want, except, it is not clickable. The size is perfect, though. So, we need to find a way to get it to send the user to my photo page when clicked.
ayamaguc
Joined: 2006-10-02
Posts: 21
Posted: Fri, 2007-11-09 17:08
Skunker- you need to realize that preformatted URLs is not a mainline feature. It is a module, completely free and more or less completely unsupported. This thread is lucky to get a handful of posts a month from folks nice enough to take time out and provide direction or share their own tinkerings with the community. No one 'owns' this module and as far as I know there is no active development that you can request a feature from.
That said, you can probably use my notes and posted code to figure out how to make the thumb/resize changes you wish.. I modified only the HTML links.. but the the BBCode changes should be very similar.
skunker wrote:
200+ replies and no one can help answer my question? *Waaah*!
skunker
Joined: 2005-02-04
Posts: 344
Posted: Fri, 2007-11-09 18:38
Hey ayamaguc, thanks for taking the time to reply. I'll now have to figure out which of your posts is the one I need to study Thanks.
ayamaguc
Joined: 2006-10-02
Posts: 21
Posted: Fri, 2007-11-09 18:47
Check out postings from Nov. 2006. There's a code attachment there of the modifications I made to version 0.9.3. Good luck..
kreno
Joined: 2007-11-13
Posts: 6
Posted: Fri, 2007-11-16 04:01
OK, I've been messing with this for a while, and I just don't get it. I have an item id, and all I want is the url to include the photo in my Wordpress page, with an <img> tag. This is for an embedded app. I may be being obtuse, but I just don't see how to do this.
Posts: 21
This part is what matters. It is basically tag-value as I've broken it up above. Most of the tags relate to the structure of the link bar. You need to find the one the creates the link (the 'a href=' part).
> value="<a href="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true}"
if you understand xhtml (if you don't, learn b/c you'll never understand a meta-language spitting out xhtml if you don't understand the output), then you should understand the anchor ref tag, and that the goods that you want to redirect are between the quotes.
> {g->url arg1="view=core.DownloadItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true}
just guessing but you should be able to replace this text with
http://www.yoursite.com/directory
or whatever and get it to build that.
> target="_blank"
target="_blank". you should be able to mentally start mapping the output with the script creating it. that will help you understand what is going on.
This part is what is generated for the click-copy links on the side. It is basically the same as the above.
yah?
Posts: 33
SO if I change the
> {g->url arg1="view=core.DownloadItem" arg2="itemId=`$GetUrlsData.itemId`" forceFullUrl=true}
to
> {g->url arg1="http://www.yoursite.com/directory"}
it should work?
I am learning XHTML a bit so this will help.
Thanks a bunch.
Posts: 33
I totally forgot. There are certain types of thins I am offering on my site that is code specific.
Such as offering say contact tables and extended network graphics for myspace that use a specific code.
I have a album for each kind. Album for Contact tables, album for extended network, etc. How can I specify the different codes needed for the URL rewrite and Get URL mods?
Example
Online indicators would use this type of code
<style>
table table table td.text div { background-image: url('http://xxxxxxxx.com/pub/53/53638v9ptm2jw3g.gif'); background-repeat: no-repeat; }
table table table td.text div img { visibility: hidden; }
table table table td.text table table div { background-image: none; }
table table table td.text table table div img { visibility: visible; }
</style><br><a href=http://xxxx.com title='Graphics'>Online Now Icons</a>
Does that make sense? Basically certain albums need code specific.
Thanks for the help once again. Wish I knew what I was doing...
Posts: 21
This is my best guess.I would put it in there, try it out, and see. Compare the output to what you need it to be, adjust, etc.
Posts: 21
I'm sure this can be done, but it has to be done in PHP. So once you figure out what the xhtml needs to look like, get messy with conditionals in php. Or rent-a-coder or whatever to do it for you..
Posts: 33
Thanks so much. I think I will need to find someone who could help me do it as Im, just learning xhtml and php so I dont think I will learn it in time for when I need it by.
Do you recommend someone who can possibly do this for me?
Posts: 48
Is this module still valid & current with the latest :
Gallery version = 2.1.2 core 1.1.0.2 ?
Thank You,
marco
Posts: 21
Tink- you still looking? Let me know and I can try to dig up my guy.
Posts: 57
hey guys...
i have manipulated the code to display the images how I want with alt="xxxx" functions and width"xxx" functions, but maybe in future release you can add this option through gallery.
that may not have made sense.. ex: i want my url to read: <img src="http://www.mysite.com/gallery/pics/001.jpg" alt="Images hosted by MySite" width="300">
i had to hack the geturl.tps file to do this.. i actually made mine to use in MySpace and added <center> commands and <br> commands as well..maybe it could be an option in the module interface through your admin in gallery? something to think about.
oh ya! i also added onclick="this.focus(); this.select();" in the <input> command so when you click on the formatted url it highlights the whole thing... very usefull for people that dont understand the "copy to clipboard" link to the right of the formatted url
also...if you are having a problem with MySpace displaying your formatted urls because of the "?" mark in the url, hopefully Valiant will have this fixed and release a new update of geturl module tomorrow.
Posts: 33
Yes, I am clueless. I tried doing it myself and screwed up so much I had to uninstall and reinstall it, lol...Trial and error but I just cant figure it out.
Thanks so much ayamaguc
Posts: 21
Check your PMs.
Posts: 32509
Update
Based on v0.9.4, I have done some cleanup, fixed the trailing ? / & issue and released it as version 0.9.5.
Users of Gallery 2.2 can get the formatted urls (geturls) module in:
site admin -> plugins -> more plugins
-> change the repository settings, include the community repository
-> download the plugin list by pushing the button
-> select the formatted urls module
-> done
--------------
Enter the Gallery 2 Theme Contest today!
Posts: 54
nice update thanks
but now I'm getting loads of this in my error log
/usr/local/www/g2data/smarty/templates_c/%%1593091659/%%13^138^138DDB59%%GetUrls.tpl.php(104) : Notice - Undefined index: theme
I know I have debug on but this was not there brfore the update
Posts: 32509
Thanks for reporting the issue. I fixed something related, please try the new zip which is attached to this topic (still version 0.9.5, but changed).
--------------
Enter the Gallery 2 Theme Contest today!
Posts: 54
Thanks its fixed \O/
Posts: 43
I just upgraded to the new version, 0.9.5, and now the admin-panel for it don't work (http://xxxxxxx/gallery/admin/?g2_subView=geturls.GetUrlsSiteAdmin)
It's just completely blank.. :S All file permissions are correct, and I can't see anything in the error_log.. What happened here?
I also want geturl to give me all formatted urls for an entire album ;)
Posts: 32509
works for me.
please uninstall the module and install it again.
also, delete your caches:
FAQ: How can I clear cached data?
--------------
Enter the Gallery 2 Theme Contest today!
Posts: 43
valiant: Thanks, to clear the cache worked
Posts: 132
I added a field for the lightbox ( rel="lightbox" ), But I would like to know how to recover the ID of the parent album of the image, because I wish to add a id to the lightbox ( rel="lightbox[IDalbum]" )
thanks for helps
Posts: 32509
$item->getParentId()
--------------
Enter the Gallery 2 Theme Contest today!
Posts: 132
thank you very much, all functions well ;)
Posts: 3
Ok Complete Idiot here, it's been a long day and for a break from coding another site I decided to search for this module
Downloaded
Extracted Zip File
Ftp'd geturls folder to Modules folder on server
Set Chmod to 0755
Logged into Gallery
No sign under Extra in the Modules...
where have I gone wrong ?
Posts: 1
I tried to install version 0.9.5 (tried 0.9.2 before and ran into problems - this one is better), but when I click on Install in the Modules page of my G2 installations, I get:
Error Detail -
Error (ERROR_COLLISION) : Duplicate permission id: geturls.view
* in modules/core/classes/helpers/GalleryPermissionHelper_advanced.class at line 853 (gallerycoreapi::error)
* in modules/core/classes/GalleryCoreApi.class at line 881 (gallerypermissionhelper_advanced::registerpermission)
* in modules/geturls/module.inc at line 58 (gallerycoreapi::registerpermission)
* in modules/core/classes/GalleryModule.class at line 157 (geturlsmodule::upgrade)
* in modules/core/AdminModules.inc at line 64 (geturlsmodule::installorupgrade)
* in main.php at line 199 (adminmodulescontroller::handlerequest)
* in main.php at line 87
* in main.php at line 80
System Information
Gallery version 2.1.2
PHP version 4.3.10-18aaa+tigertech2 cgi-fcgi
Webserver Apache/2.0.54 (Debian GNU/Linux) FrontPage/5.0.2.2635 mod_ssl/2.0.54 OpenSSL/0.9.7e
Database mysql 4.1.11-Debian_4sarge7-log
Toolkits NetPBM, Gd
Operating system Linux elzar 2.6.8-3-686-smp #1 SMP Thu Sep 7 04:39:15 UTC 2006 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
I tried clearing the caches, but it didn't help. I'm a PHP newbie - I really have no clue where it's finding duplicate permission ids or really, what that means. Is this module colliding with the core program? Help, please!
---
jjm
Posts: 32509
jjmcgaffey
sorry about that. please see:
http://gallery.menalto.com/node/39993#comment-150055
--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 37
I have not seen any post that has resolved my question.
I want to link directly to my videos to allow people to either via them inline (which is already done) or download them (which is what I would like to get this module to do).
Specifically, I would like a download link available underneath each thumbnail in the video gallery. I have looked at all the options and nothing seems to be working.
Has anyone done this or is there a way to do this?
Posts: 27300
[Solved] Download link for Videos possible?
Posts: 14
I think I've read this thread so many times my brain is mush.
Please bear with me however.
Right now the formatted URL displays LINK TO PAGE and SHOW IMAGE DIRECTLY fields under each image. The LINK TO PAGE only shows a link saying "click to see image" while the SHOW IMAGE DIRECTLY shows a static picture and doesn't not link
What I am looking to do is have the formatted URL module somehow combine the two. In essense be able to show the full size image remotely but have it link back to its album/page or to the main page of the gallery.
Like how the "clickable thumbnail link" but instead of the thumbnail its the full size picture.
How, or what code, can this accomplished with?
And please, I'm not even close to being a beginner with coding.
Please an idiot in need. Thank you
Visit us at http://www.imageeden.com
Paradise for your images
Posts: 3
Hi all
Great module. Works really well. Have one question though, bit of a newbie, so apologies if im missing something simple.
How do you get the URLs to pop up in a new (blank) window? I know its easy as anything in Dreamweaver and the like, but I have no idea with this.
Im guessing I need to change the code in the GetUrls.tpl file, Ive found what I think are the right lines, but I have no idea on what the grammer should be and short of typing in "Please open in new window" (which I dont think is the correct code) I have no idea!!!!
Thanks in advance for any help you can give.
Posts: 352
as in
Steve Lineberry
Posts: 3
yes, just like that!!!! can normal HTML be used though?
Posts: 352
Yea, it's normal html in their right now, it's just encoded.
Check out this section of the geturls.tpl
If you wanted them to open in a new window you would change it to be
Steve Lineberry
Posts: 67
My album and thumbnail pages look like this:
[img]http://www.lolzing.com/G2errors/GetURLs.png[/img]
When I login as admin the "Get Item URLs" beneath the thumbs disappears, How can I get rid of the "Get Item URLs" beneath the thumbs for everyone?
Thanks for this plugin
Posts: 45
My suggestion for a feature would be the ability to define custom URLs. I would for example like to make URLs that "fits" into another web site I have
Posts: 3
Is it possible to do something like this:
If so, how would I edit the tpl file to do it. Any help on this would be great... Thanks.
Posts: 352
Yes, see my post above where someone else asked how to modify the links to open in a new window.
http://gallery.menalto.com/node/28154?page=5#comment-243130
Steve Lineberry
Posts: 3
Awesome, thank you! I don't know that much about encoded HTML, and was wondering if you have a good source for learning it ... or is it always different? I might be wrong, but it seems that Myspace uses encoded HTML and that's why it's always converted when I save regular HTML in my profile. However, I always have issues with it because of spaces and periods, etc.
Posts: 352
From my post above you can kind of figure it out.
You already know some html based on your post above
And if this is supposed to be a link (from my post above)
You can see the encoded parts
That's pretty much all you need for this case.
BTW, the code inside the {} is the smarty syntax. If you plan on doing much template editing I would suggest you become fimilar with that syntax.
Steve Lineberry
Posts: 3
Thanks Steve, now it makes sense. I really appreciate your help!
-
Tim
Posts: 43
edit: It already had that function, that's great. lol.
Posts: 9
Well here's my comment about this. I love it. I was tired of using Imageshack or xs.to for hosting my images, and I wanted to have them all safely stored on my webhost account. Yours work great, but I hate the fact that I must go through a few clicks before I get to the actual linking codes. This is particulary annoying when I batch upload images. Then I have to make a few clicks for each image. So if you could minimize clicks needed to get to the codes, to get batch linking codes and to maybe select images to get linking codes for with separators that would be splendid. That's my opinion about this module.
Posts: 3
same wish from me... batch-urls ... not to klick on any picture to get their links...
first could be to geht the links of whole of the album... you can select the right ones afterwards with deleting the unwanted entries
Posts: 13
I'm trying to figure out if there's a way to make it so that only the owner of an album can see the URL links to the images. I have everything set up right for the most part. If I'm logged in as a normal user, I can see the urls and everything works fine. Problem is I want to stop registered users from getting the urls or other users albums. I'm not the best at coding and this is very new to me as far as gallery use, so any help would be greatly appreciated.
Thanks in advance.
Posts: 344
Does anyone know how to change the size of the thumbnail that is printed when using the "show a clickable thumbnail" bbcode URL? Currently, it's a bit too small and I want to increase the size to maybe 150px.
What file in this module would I edit? Thanks!
[img]http://www.fighterjetz.com/d/1329-2/DF-ST-91-03614.jpg[/img]
Posts: 344
200+ replies and no one can help answer my question? *Waaah*!
Posts: 27300
It takes the thumb from the album. If you want a bigger thumb than you have to set gallery to have a bigger thumb.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 344
Dave,
Thanks for responding. IF we can't change the size of the thumbnails for the preformatted URLS (aside from having to change it for my gallery as a whole), then, can we have a feature request of displaying the resized version (non-thumbnail, non-original) that, when clicked, goes to the item page?
Update: It seems that "BBCode inline image" does what I want, except, it is not clickable. The size is perfect, though. So, we need to find a way to get it to send the user to my photo page when clicked.
Posts: 21
Skunker- you need to realize that preformatted URLs is not a mainline feature. It is a module, completely free and more or less completely unsupported. This thread is lucky to get a handful of posts a month from folks nice enough to take time out and provide direction or share their own tinkerings with the community. No one 'owns' this module and as far as I know there is no active development that you can request a feature from.
That said, you can probably use my notes and posted code to figure out how to make the thumb/resize changes you wish.. I modified only the HTML links.. but the the BBCode changes should be very similar.
Posts: 344
Hey ayamaguc, thanks for taking the time to reply. I'll now have to figure out which of your posts is the one I need to study Thanks.
Posts: 21
Check out postings from Nov. 2006. There's a code attachment there of the modifications I made to version 0.9.3. Good luck..
Posts: 6
OK, I've been messing with this for a while, and I just don't get it. I have an item id, and all I want is the url to include the photo in my Wordpress page, with an <img> tag. This is for an embedded app. I may be being obtuse, but I just don't see how to do this.
TIA,
Kerri