You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There might also be more file extensions that do not work, which, presumably, at least include any image file types that cannot be displayed in the browser.
For sure the method works with .jpg, .png, and .svg.
A potential "solution":
if page['thumbnail'] and page['thumbnail']['source'] =~ /\.tif\.jpg/i
page['thumbnail']['source'].sub(/lossy-page1-\d+px/, 'lossy-page1-800px')
elsif page['thumbnail']
page['thumbnail']['source'].sub(/\/thumb/, '').sub(/\/[^\/]*$/, '')
end
However this would always be the link to the image at 800px, which might not always work...
The text was updated successfully, but these errors were encountered:
There might also be more file extensions that do not work, which, presumably, at least include any image file types that cannot be displayed in the browser.
For sure the method works with .jpg, .png, and .svg.
A potential "solution":
However this would always be the link to the image at 800px, which might not always work...
The text was updated successfully, but these errors were encountered: