
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Adapted from imageserve to fit broader gallery needs such as video embedding and content for controls.
A django app for serving collections of images or videos
Pillow
pip install galleryserve
Add 'galleryserve' to INSTALLED_APPS
GALLERYSERVE_EXCLUDE_FIELDS - This can be added as a list in your settings.py file to exclude certain fields from appearing in the admin.
{% load gallerytags %}
{% get_gallery name %}
{% for slide in gallery %}
<div title="{{ slide.title }} - {{ slide.credit }}">
{% if slide.url %}<a href="{{ slide.url }}">{% endif %}
{% if slide.image %}<img src="{{ slide.image.url }}" alt="{{ slide.alt }}" />{% endif %}
{% if slide.url %}</a>{% endif %}
{% if slide.video_url %}<a href="{{ slide.video_url }}">{{ slide.title }}</a>{% endif %}
{{ slide.title }} - {{ slide.credit }}<br />
{{ slide.content|safe }}
</div>
{% endfor %}
Changes in 0.2.0 - 05-25-22 Updated build process for py3 compatible app
Changes in 0.1.5 - 06-27-13 Allow for gallery title to be passed in as context variable instead of always treating it as a string.
Changes in 0.1.3 - 11-02-12 Moved to git. Added ANTIALIAS to image processing
Changes in 0.1.2 - 10-22-11 Fail silently on gallery not existing
Changes in 0.1.1 - 9-20-11 Added random boolean to control whether gallery item sort should be random psql command to insert column: alter table galleryserve_gallery ADD column random boolean not null default false;
FAQs
Adapted from imageserve to fit broader gallery needs such as video embedding and content for controls.
We found that galleryserve demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.