Aloha,
I've very new at this but have just installed Piwigo, created some albums, uploaded pictures and so on.
What a great system!
I have read what I believe is the relevant documentation, but before I do anything silly...
Can I clarify please how virtual albums work.
I think that all the photos are kind of just in a 'big bucket' (no let's not call it a photo bucket LOL )
Each image file in this 'bucket' has its own unique URL, INDEPENDENT of what album it is in.
The albums in turn are essentially just convenient means of organizing those photos, but don't reflect any physical file structure.
Thus if I were to rename an album, or move a photo from one album to another, it would make no difference at all to any external links.
That is, it would not break the links on a forum, the image would still appear where it had been placed with IMG tags.
Is my understanding of this correct? If not can you please advise specifically where I'm wrong.
Thank you so much.
Michael.
Piwigo version: 2.9.1
PHP version: ??
MySQL version: ??
Piwigo URL: http://www.landyvlad.net/piwigo
Offline
Hi :-)
landyvlad wrote:
I think that all the photos are kind of just in a 'big bucket' (no let's not call it a photo bucket LOL )
Each image file in this 'bucket' has its own unique URL, INDEPENDENT of what album it is in.
The albums in turn are essentially just convenient means of organizing those photos, but don't reflect any physical file structure.
Yes
landyvlad wrote:
Thus if I were to rename an album, or move a photo from one album to another, it would make no difference at all to any external links.
That is, it would not break the links on a forum, the image would still appear where it had been placed with IMG tags.
Is my understanding of this correct? If not can you please advise specifically where I'm wrong.
If you give direct linl picture is ok
If you give URL vhen you move photo URLchange
Offline
landyvlad wrote:
Each image file in this 'bucket' has its own unique URL, INDEPENDENT of what album it is in.
if you are referring to virtual albums
A) if you are referring to the jpg image file ... then yes, URL link to the jpg image will be stable, no mater if you move the photo to another album ... the album is virtual (only some data in the database). the location of the physical image on the webserver remains the same.
ex. http://demo.piwigo.com/_datas/v/8/z/v8z … 7c6-me.jpg
B) if you are referring to the URL address of piwigo where the image is, then they are two possibilities. do not forget that in piwigo a single image can be in multiple albums
1) you can give only the link to picture page (this will have the disadvantage that the visitors cannot see the next/previous pictures in the album you want) ... but the link will be stable if you move the picture from the album to another album
ex. http://www.modusoptimus.com/pwg/picture/R20160722_7913
2) you can give the link to picture page+album ... visitors can navigate to the next/previous picture from the album you give but if you move the image to another album. but if you will move the picture to another album all past links will be broken.
ex. http://www.modusoptimus.com/pwg/picture … mals/birds
ex. http://www.modusoptimus.com/pwg/picture … erica-2016
Offline
Thanks.
So let's say I want to post a photo on a forum.'
I go to the album, right click and select 'copy image address' (using Google Chrome in this example)
I come to a forum and paste in the URL as follows http://www.landyvlad.net/piwigo/picture … ategory/14
put it in IMG tags and...
nothing. But the hyperlink takes to to the actual photo page in the gallery, which is obviously NOT what I want.
If I right click on the photo and say open in new tab, that gives me the URL http://www.landyvlad.net/piwigo/_data/i … 6b6-me.jpg
which is the absolute address, that won't change as long as I leave the PHYSICAL file structure alone (and I will)
whacking that in IMG tags gives us a crazy puppy
So the question is - How do I (easily) grab some code for posting in a forum, that will link me to that photo? (ie give me that link above,).
Even better if it can automatically wrap IMG tags around it and copy it to the clipboard !
Last edited by landyvlad (2017-08-05 15:55:52)
Offline
i think you need to study bbcode more.
if you want a clickable image in forum you must use both
[url]
and
[img]
bbcode tags, not only
[img]
.
[img]
must be the actual image (the jpeg).
[url]
must be the album page (or at least this is what i think you want).
example:
[url=http://piwigo.org/demo/picture.php?/1893/category/102][img]http://piwigo.org/demo/_data/i/upload/2017/06/16/20170616090704-14796371-me.jpg[/img][/url]
extensions
http://piwigo.org/ext/extension_view.php?eid=835
http://piwigo.org/ext/extension_view.php?eid=324
Last edited by eliz82 (2017-08-28 08:23:26)
Offline
and I strongly recommend you to learn the very basic of the web (what is a website, a server, html etc) since you're starting a website on your own
Offline
eliz82 - thanks, I'm across all that. It seems you may have misunderstood my question.
(I'll come back when I have some time and clarify)
flop25 - not sure what prompted that comment, Clearly I am across all that. I have 2 wordpress sites, the piwigo gallery and an SMF forum all up and running.....
Offline
your question is
"How do I (easily) grab some code for posting in a forum, that will link me to that photo? "
just do a right click "Copy image location"
Offline
flop25 yes that is precisely the question.
And I even knew what I was supposed to do (see my post above from 6/8/17) but for some reason it didn't work.
But does now. No idea what I was doing wrong but hey all's well that end's well.
Cheers
Offline