‘please set up featured image size. For example, “1200×600” – what’s the point of that? I’m expecting the plugin to TELL me what the dimensions are, so why would I type in 1200×600?
But I typed in 1200×600 anyway, just to comply, and now, I see ‘Featured Image Size: 1200×600’ on every page, regardless of the actual featured image.
Something is not right!
]]>{
??“error”: {
????“code”: 413,
????“message”: “Media is too large. Limit: 36700160”,
????“errors”: [
??????{
????????“message”: “Media is too large. Limit: 36700160”,
????????“domain”: “global”,
????????“reason”: “failedPrecondition”
??????}
????],
????“status”: “FAILED_PRECONDITION”
??}
}
Below is my current shortcode. I tried inserting [bdp_post media_size=”medium”] (and tried “small” and “thumbnail”) but no option resulted in the image sizes displaying uniformly.
[bdp_masonry design=”design-2″ grid=”3″ show_author=”false” show_tags=”false” show_comments=”false” show_category=”false”]
Thank you, Jess
]]>I tried to add a custom template – which seems to work with placing the code into the function.php:
******************
add_filter( ‘wpsl_templates’, ‘custom_templates’ );
function custom_templates( $templates ) {
/**
* The ‘id’ is for internal use and must be unique ( since 2.0 ).
* The ‘name’ is used in the template dropdown on the settings page.
* The ‘path’ points to the location of the custom template,
* in this case the folder of your active theme.
*/
$templates[] = array (
‘id’ => ‘hbdb’,
‘name’ => ‘Holzbaudatenbank’,
‘path’ => get_stylesheet_directory() . ‘/’ . ‘wpsl-templates/custom.php’,
);
return $templates;
}
*************
So far fine.
Then I tried to pull in the store excerpt – which failed.
I started with the how-to for the post content. Only I can’t find out, WHERE to put the additional code. You say, only paste lines 26-28 _into the template_. So far fine, but WHERE inside the _template_ (I use the list unter map template)? I cant find the right place, with the template using “$output”, the code given using “$listing_template” to start with… Also anyway the template hasn’t a list of the included data fields but uses a/the class.
So I had a look at the class to find that the it has several options regarding post content. However, though I have activated the more-link in the options, there is no more link…? So I already fail on having the post content and thus have nothing to change for post excerpt.
And the question remains: Where/how can I edit the template to show the excerpt?
Could you give me a hint as to sort the thing out? Thanks a lot!
Best regards,
nici-
I’m a basic user and maintain a simple site. When I used to upload media files (jpeg) into my posts, I would have the choice to resize the file (large, medium, small, thumbnail I think).
But with my latest jpeg file, which is no different to the others, I can’t change the size in the drop down menu. Original size is the only option. I’ve tried editing it but can’t scale it either. I get a message “unable to create new image”.
What can be causing this please? The file is too huge for my post.
I’m only a basic user so want to avoid any coding or plugins especially as I used to be able to resize images just in the site.
Image is 2479 × 3508.
I’m using 4.2.25 Bota theme.
Thank you
I see your setting options are A4 and Letter, but I want to customize the Packing Slip to the size of a standard #10 Envelope so I can print directly to the envelope after customizing it just to print the to and from addresses.
I am not sure where to edit this main setting to add a new size. Thanks.
]]>I have a client that has a website with 1500 posts. Each post consists of ONE image, no text.
I have changed to the Oria theme (and made a child), and in doing so need bigger images.
I altered the media sizes in the control panel, to “medium 900px”.
I then ran the plugin regenerate thumbnails..
But I cannot get the images in the posts to update from the old medium (500px) to the new medium (900px).
(I also tried the plugin “really regenerate thumbnails” – no dice).
If I go into edit in the post and click the edit for the image, it says “medium 900”, and if I then just click update (without touching anything) it will get the image right. But clearly: I cannot do this for 1500 images.
This kind of makes sense, as the actual code in the post looks like this:
<a href="https://theNameOfTheSite.net/?attachment_id=163" rel="attachment wp-att-163"><img class="alignnone size-medium wp-image-163" title="snow" src="http:/theNameOfTheSite.net/wp-content/uploads/2011/12/IMG_1155-crop-500x500.jpg" alt=" " width="500" height="500" /></a>
…so it still uses the 500×500 thumbnail. Deleting that particular file is also not getting me anywhere.
I tried fixing it with css (img first child width), and that kind of works, BUT it then takes the 500px image and upscales this to 900px which is not acceptable (gets slightly fuzzy).
I also tried disabling all plugins, went over every setting I could think of, deactivated Jetpacks image control, tried looking in the various php files, hoping to find a clue in functions. I am not a programmer but are fine with testing various blocks of code – if I just knew what to try.. :S
So, now I am at the point where I just want to override: some magic piece of code in my child theme function to either replace everything related to 500px, or override all images in content div with original (big) picture and downsize to 900px.
Or, am I missing something other, blindingly obvious? Is it perhaps a theme problem?
Anyone out there that can lend me a hand?
]]>I have a feature request though : Would it be possible to select parent also by ID, instead of only slug ?
Because ID is constant, whereas the slug can be changed for whatever reason, and thus the shortcode put in different pages will stop working properly without further notice.
Also, I have come through what seems to be a little bug. I have put this :
[loop?parent="oasis"]<div class="col-xs-6 col-sm-4 text-center produit-liste"><a href="[field url]">[content field="image" size="middle" in="id"]<div>[field title]</div></a></div>[/loop]
But strangely the middle size parameter doesn’t seem to work. It works perfectly with thumbnail, large, and full. But putting size="middle"
only retrieves the full image.
I’ve checked and the media size are well set. Also the file does exist in the wp-content/uploads/ repository.
Any idea why it’s not showing up ?
https://www.ads-software.com/plugins/custom-content-shortcode/
]]>Theme is Inkblot, site is shinglestylehomeplans.com/gin-lane-southampton/
<img src="https://shinglestylehomeplans.com/wp-content/uploads/2014/07/Z-1-first-floor-plan-850x850.jpg" alt="1st Floor Plan - Gin Lane - Southampton" width="480" height="480" class="alignright size-large wp-image-171" />