Why picture_coi change derivative_url_style? #606

Closed
opened 2026-10-05 00:06:56 +02:00 by adam · 4 comments
Owner

In picture_coi.php, row 70

  if ($conf['derivative_url_style']==1)
  {
    $conf['derivative_url_style']=0; //auto
  }

Why would it changes derivative_url_style to 0?

In `picture_coi.php`, row 70 ``` if ($conf['derivative_url_style']==1) { $conf['derivative_url_style']=0; //auto } ``` Why would it changes derivative_url_style to 0? <!-- github-sync-id:224155982 -->
adam closed this issue 2026-10-05 00:06:56 +02:00
Author
Owner

In order to force reloading the image after coi change (coi is not part of
the url)

On Apr 25, 2017 16:23, "Joshua" notifications@github.com wrote:

In picture_coi.php, row 70

if ($conf['derivative_url_style']==1)
{
$conf['derivative_url_style']=0; //auto
}

Why would it changes derivative_url_style to 0?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Piwigo/Piwigo/issues/659, or mute the thread
https://github.com/notifications/unsubscribe-auth/AJRc9txBWZw0JjXkaC_d0dEaDFF2_GO7ks5rzgHagaJpZM4NHj12
.

In order to force reloading the image after coi change (coi is not part of the url) On Apr 25, 2017 16:23, "Joshua" <notifications@github.com> wrote: > In picture_coi.php, row 70 > > if ($conf['derivative_url_style']==1) > { > $conf['derivative_url_style']=0; //auto > } > > Why would it changes derivative_url_style to 0? > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/Piwigo/Piwigo/issues/659>, or mute the thread > <https://github.com/notifications/unsubscribe-auth/AJRc9txBWZw0JjXkaC_d0dEaDFF2_GO7ks5rzgHagaJpZM4NHj12> > . > <!-- github-comment-id:297069020 -->
Author
Owner

I was thinking the same at first but after I removed those line and the image still reloaded.

I was thinking the same at first but after I removed those line and the image still reloaded. <!-- github-comment-id:297070218 -->
Author
Owner

This depends on your Apache/nginx configuration and if there is none on the
browser heuristics to refresh the cache

On Apr 25, 2017 17:35, "Joshua" notifications@github.com wrote:

I was thinking the same at first but after I removed those line and the
image still reloaded.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Piwigo/Piwigo/issues/659#issuecomment-297070218, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJRc9vjNxrqJNbadmJxEe6YE5ZjiG33Gks5rzhKqgaJpZM4NHj12
.

This depends on your Apache/nginx configuration and if there is none on the browser heuristics to refresh the cache On Apr 25, 2017 17:35, "Joshua" <notifications@github.com> wrote: > I was thinking the same at first but after I removed those line and the > image still reloaded. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/Piwigo/Piwigo/issues/659#issuecomment-297070218>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AJRc9vjNxrqJNbadmJxEe6YE5ZjiG33Gks5rzhKqgaJpZM4NHj12> > . > <!-- github-comment-id:297070824 -->
Author
Owner

Thx, for the quick reply

Thx, for the quick reply <!-- github-comment-id:297072791 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#606