I set an email subscription for my raport in powerbi and i used the checkbox with image preview with is attached to raport email. Unfortunately this image is from july when i first created automatic raport refresh and send to subscribers, how can i make this image to be updated and follow the current month?
Related
I'm making a web app which allows users to register to the site and let them post their posts.
For taking in their post I have used the built in CBV: CreateView. In the user post I take in the name of the user using foreignkey with null=True, image, title.
The problem is: when I go to the detail page of that post it shows that there is no file associated with the image field, so I made an if statement to check if the post contains an image. But then too, it does not show the image. It shows User:None.
I don't know what is happening, I have read that CBV take the self.request automatically and there is no need to link the current user to the post.
Following are the screenshots of my code:
models.py
browser image before clicking submit button
browser image after clicking submit button (detail page of the post)
post_detail.html
views.py
If the image is in you database than you can render it this way
<img src="{{post_detail.image.url}}">
I found the answer.
I forgot to add the enctype="multipart/form-data" in the form of my createview html.
Now it's working perfectly fine.
Screenshot of userpost_form.html
Thank you all for all the support.
I have configured the email in open cart. When I am adding product to cart and purchasing it
Then the mail is being sent to customer but not getting Admin notification plz help me what I am missing
Opencart version 2
Go to system->settings->edit->option Tab Here is an option named 'New Order Alert Mail', please make it yes if you wants to send notification email to owner (admin of the store).
I am trying to build a page on our company web site that will show all photos our company is tagged in on facebook. Its the left "Photos of You" tab when in the FB photo page.
Is there a way to select just those pictures for a photo wall on our site?
I'm using FQL to help speed up queries on large albums.
Here is some FQL to select tagged photos for a specific user/page (where 123 is uid).
SELECT object_id, pid, aid, src_big, src_small, caption, like_info,
comment_info, modified FROM photo WHERE object_id IN (SELECT
object_id FROM photo_tag WHERE subject = 123)
Not sure if it helps, but I built an application to create photo slideshows for any Facebook user or page. Feel free to also give that a try, Slideshow App
I am using the Facebook Graph API to query the users Photo Albums (I am using the Facebook SDK for Android). I am sending the Request me/albums to Facebook and I receive all albums. After receiving my result I have to filter the result list because I do not want to show the albums which have the attribute can_upload=false.
Can I send any parameter with my request to Facebook which returns only albums with the attribute can_upload=true?
Regards
Michael
If you want Facebook to filter results for you, you need to use FQL.
SELECT name, object_id FROM album WHERE owner= USER_ID AND can_upload = true
I am using Facebook Open Graph with an approved action called "order". When our users make a purchase on the site, we will post what they bought in timeline and news feed. I chose the gallery view in aggregation. It shows up correctly in timeline, but not in news feed. In the newsfeed, the products are in a list view. My guess is that I'm passing the urls of the product page back to facebook, so it shows as a list of items, not just the pictures. What's the right way to make the products show up in news feed as a gallery, like pinterest or instagram?
Here's my code to post the products
purchase.products.each do |product|
graph_api.put_connections("me", "#{namespace}:order?product=#{product_url(product)}")
end
Thanks