Skip to content

Update photo album summary after deleting a photo from the viewer#281

Open
broadwaylamb wants to merge 3 commits into
grishka:devfrom
broadwaylamb:update-photo-counters
Open

Update photo album summary after deleting a photo from the viewer#281
broadwaylamb wants to merge 3 commits into
grishka:devfrom
broadwaylamb:update-photo-counters

Conversation

@broadwaylamb

Copy link
Copy Markdown
Contributor

No description provided.

html.append("\" onclick=\"return openPhotoViewer(this)\" data-pv=\"");
html.append(TextProcessor.escapeHTML(gson.toJson(new PhotoViewerInlineData(index, "albums/"+album.getIdString(), photo.getURLsForPhotoViewer()))));
html.append("\">");
html.append(photo.generateHTML(SizedImage.Type.PHOTO_THUMB_MEDIUM, null, null, size.width, size.height, true, null));

@broadwaylamb broadwaylamb Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've noticed that the variable sizeType above has the value PHOTO_THUMB_SMALL, but here we pass PHOTO_THUMB_MEDIUM. I'm not sure if this is a bug or not. I haven't changed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant