GithubHelp home page GithubHelp logo

pmgllc / genesis-minimum-images-extended Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 4.0 250 KB

Allows for a custom image for the single post banners rather than the featured image

PHP 86.94% JavaScript 13.06%

genesis-minimum-images-extended's People

Contributors

billerickson avatar deckerweb avatar kraftbj avatar pmgllc avatar robneu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

genesis-minimum-images-extended's Issues

Change markup to better mimic Minimum

The current markup for a featured-image in Minimum (using the feaured image as the banner):
<.div id="featured-image".>
<.img src.....>
<./div.>

In the plugin,
<img id="featured-image"....

The major different is the forcing of the image to be full screen, no matter how small it is. Is that the intention? Or, if you upload something smaller, it'll show it as centered?

Featured-image being used:
http://sp.brandonkraft.net/2012/11/13/hello-world/

Banner being used with same image file:
http://sp.brandonkraft.net/2013/02/22/hello-world-2/

[edited to add periods to html markup. Wasn't displaying before]

Setting for is_home graphic

I'd like to add a setting on what the home graphic should be instead of using the sample.jpg.

Long day here too, so for later.

Working with Streamline

For grins, I'm going to see if I can make it work with Streamline. Going to fork it and work on it away from this repo.

Editing files to refine purpose

I'm editing the files to refine purpose to just changing the banner from the featured image to a new "banner image." I've edited the admin.php and still need to finish the output.php and check the plugin.php in the morning. Long day - headed to bed.

Activation server 500 error

I put the plugin in another site of mine running Minimum 2.0 and it slapped me again. I'm going to look at the server logs and see what I can find out and really do some learning.

Stuck with 300px banner

I created a staging area and got the following to work: http://jpetersen.staging.wpengine.com/business-tips/thoughts-on-competition-among-wordpress-developers/

It is insisting on using the 300px thumbnail of the banner file and I can't see how to avoid that. I removed the banner's custom image size - it needs to be the full 100% width, auto height (or the actual height).

Screen Shot 2013-01-09 at 12 36 48 AM
Screen Shot 2013-01-09 at 12 37 09 AM

Very proud of myself for figuring out most of the issues I caused by changing course to concentrate on just the banner. Anyone know how to use the full image instead of a thumb?

alt tag not populated

I can't get the alt image to populate. I'm about to push a commit that should have the "alt=" only display if the alt tag is filled, but it's not working. Previously, the img tag was rendered as < img src="http://example.com" alt / >.(without the extra spaces)

With new commit, it's valid HTML; just missing info.

Add checkbox to not display banner image

IIRC, currently, if no banner image is displayed, the featured image is used…a fallback for folks with many a-posts. We should add an option to display nothing instead of the featured image.

I think a checkbox in the metabox area would do the trick. Happy to do it once this queue of client work is knocked out.

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.