Coder Social home page Coder Social logo

etchuk / etch.orchardcore.gallery Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 2.0 576 KB

Orchard Core module making it easy to create media galleries.

License: MIT License

C# 31.53% HTML 15.40% JavaScript 11.23% TypeScript 41.49% SCSS 0.26% Liquid 0.09%

etch.orchardcore.gallery's People

Contributors

adamburtetch avatar dependabot[bot] avatar mehdi-miah avatar mobinzk avatar peterkeating avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

etch.orchardcore.gallery's Issues

Alt Text

Add support for customising alternate text.

Update default markup

We don't really want a nested section in here (which is what the Model.Header creates, complete with a h1).

Suggested new default:

<h3 class="section__title">
    {{ Model.ContentItem.Content.TitlePart.Title }}
</h3>
{{ Model.Content | shape_render }}

Although I wonder whether we need the title in there or if we should encourage people to add that with the heading widget so they can set the appropriate heading level (likely to be 1, 2 or 3)

json media

please give me an example for json media value, and how can i display in customize liguid page.

it posible to get media, directly from assest media module?

Currently no media in the gallery

thanks for providing this module it works fine but when I try to widget with the gallery I can not add media

Currently no media in the gallery. see the image attached please advise what is required

note: gallery feature is enabled

no gellery

Add Media failing to run

Sorry... bit of a newbie problem probably.

I have tried both downloading your code and installing via NuGet. After adding into a site (based on The Agency Theme) using Orchard Core 1.4 and turning on the "Gallery" feature, I can see the Gallery Widget in Content Types. If I add it to a new Content Type and create an instance of that new Content type, I see the Add Media button but it does not do anything. AFter saving the new Content Item and then editing, the button still does not work.

Am I missing an obvious step?

Images via media library store tenant host prefix

Noticed when migrate content from one environment to another that all the images in the gallery were broken. This is because the image path includes the tenant URL prefix and media. When migrating this to another environment the tenant will likely have a different prefix.

Create Widget gallery content part

Creating this as a widget will allow the gallery to be rendered within flows as well, allowing users to render them anywhere on the page, not just forcing them into the footer.

Something to be aware of for this is that the Vue.js code is execting the "Add Media" button to be there on page load, so clicking this on one added dynamically without saving your content and reloading will give a non-working button.

Add Sensible default styles

Currently, if you add the gallery to a new site it doesn't come with any styles besides the lightbox, while the gallery might be rendered differently across sites, it would be good to have a nice looking default rather than the browser's default ul/li styling

Style doesn't load

i think you missd gallery style.

i can not find "list list--gallery js-gallery" style classes

gallery

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.