Hi,
Thanks for reply!
I have disabled Photon but the error still similar.
I would like the image url in content is not changed. For example, the post below:
http://laughworld.net/hahaahhahaha-d-phit-like-y/
It change image url in content to thumbnail image:
http://laughworld.net/wp-content/uploads/2014/12/0d24fae0c4ffa1209bec32c990cd5e79-150×150.jpg
while I set the image url to http://laughworld.net/wp-content/uploads/2014/12/0d24fae0c4ffa1209bec32c990cd5e79.jpg when create post content (by PHP code)
So what I would like is the content is not changed from what I set.
Thank you,
Alex
-
This reply was modified 11 years by
khonoidung.
correct! however, photon said:
How does Photon determine which dimensions to serve?
Photon looks at the img element’s width and height attributes and then serves an image resized to those dimensions or to the width of the containing element (whichever is smaller).
My original image with much higher width and height, so is it the problem of “width of the containing element”? if that is, how could I solve now without photon disable?
Thanks!
however I do not know why when I set content which has image (for example src=”http://mydomain.com/wp-content/uploads/2014/12/hqdefault9.jpg”), after call wp_insert_post, the image in content has been changed. It converts to src=”http://i0.wp.com/mydomain.com/wp-content/uploads/2014/12/hqdefault9.jpg?resize=150%2C150″, it is thumbnail (or feature image) of post.
-
This reply was modified 11 years by
khonoidung.
I have found the problem!
Thank you!
Hi Lucian,
I do as your guide but it still happen.
It only happen when view post in detail:
http://laughworld.net/procrastination-d-pagree-hit-like-y-7/
If we view post in category, it still ok, like this:
http://laughworld.net/category/funny-pictures/
It also happen with post which have youtube video
http://laughworld.net/ha-ha-ha-ha-ha-ha/
Thanks for your help!
sorry, it i my code problem which using thumbnailId instead of upload photoId.
Thanks for your replies!
Thank Lucian and Christopher for your replies!
I also use YOAST but cannot find where to put h1 tag. I using template similar your demo site. Could I add h1,h2 for “DON’T MISS, TECH AND GADGETS,…” tab in your demo page?
Hi Lucian,
How to create dropdown menu with image/video list like “Lifestyle” and “Video” menu in http://demo.tagdiv.com/newspaper/?
Thanks!
Alex
I could create it now. Thank you so much for your support
Alex