Announcement

  •  » Miscellaneous
  •  » Please clarify my understanding of how albums work.

#1 2017-08-03 14:25:33

landyvlad
Member
Brisbane, Australia
2017-08-01
32

Please clarify my understanding of how albums work.

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


piwigo - because photobucket can suck my .....

Offline

 

#2 2017-08-03 14:34:14

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7198

Re: Please clarify my understanding of how albums work.

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


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2017-08-04 10:04:11

eliz82
Member
Romania
2016-04-27
281

Re: Please clarify my understanding of how albums work.

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

 

#4 2017-08-05 15:49:27

landyvlad
Member
Brisbane, Australia
2017-08-01
32

Re: Please clarify my understanding of how albums work.

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...

http://www.landyvlad.net/piwigo/picture.php?/5/category/14

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

http://www.landyvlad.net/piwigo/_data/i/upload/2017/08/01/20170801222214-0dfe26b6-me.jpg


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)


piwigo - because photobucket can suck my .....

Offline

 

#5 2017-08-28 08:18:08

eliz82
Member
Romania
2016-04-27
281

Re: Please clarify my understanding of how albums work.

i think you need to study bbcode more.
if you want a clickable image in forum you must use both

Code:

[url]

and

Code:

[img]

bbcode tags, not only

Code:

[img]

.


Code:

[img]

must be the actual image (the jpeg).


Code:

[url]

must be the album page (or at least this is what i think you want).

example:

Code:

[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

 

#6 2017-08-28 17:50:47

flop25
Piwigo Team
2006-07-06
7037

Re: Please clarify my understanding of how albums work.

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


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#7 2017-08-29 00:13:30

landyvlad
Member
Brisbane, Australia
2017-08-01
32

Re: Please clarify my understanding of how albums work.

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.....


piwigo - because photobucket can suck my .....

Offline

 

#8 2017-08-29 11:45:05

flop25
Piwigo Team
2006-07-06
7037

Re: Please clarify my understanding of how albums work.

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"


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#9 2017-09-11 14:48:19

landyvlad
Member
Brisbane, Australia
2017-08-01
32

Re: Please clarify my understanding of how albums work.

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


http://landyvlad.net/piwigo/upload/2017/08/01/20170801223440-5aebb1ec.png


piwigo - because photobucket can suck my .....

Offline

 
  •  » Miscellaneous
  •  » Please clarify my understanding of how albums work.

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact