How to import products with images with CSVI Free to Joomla VirtueMarkt? - joomla2.5

I have a question, how to import product images with CSVI Free to VirtueMarkt to Joomla?
The import without the images does well, but the images dosent work.
Here is my CSV file:
\"product_sku\",\"product_name\",\"file_url_thumb\",\"file_url\"
\"12312312345\",\"\",\"\",\"images/stories/virtuemart/product/7c62ddd3752228f2f48cb02850f97309.jpg\"

You can Read/Write Excel Sheet data using PHPExcel Library.
It have the facility to read the images from the Excel sheet , ie you don't need to place the image path like images/stories/virtuemart/product/7c62ddd3752228f2f48cb02850f97309.jpg simply place the image inside excel sheet and read these with PHPExcel,
A sample image reader integration with PHPExcel you can find here.
Right now I'm developing a component for VM to import and export product.
So hope its helps..

Related

Displaying Image in Qt Ui using MySQL

I am working on a project to display a list of formulas in the ui. I snipped all the formulas in image form and saved them in .png format. Then I stored the name of the images and their path in a mysql database.
Here's an example of what my table looks like.
I tried using listWidget but the formulas could be dragged across ui.
So what would be a better way to display these formulas in an organized manner
Here's what it looks like right now using listWidgets:

Access the filer plugin directly to link pages with thumbnails

I'm looking at creating a thumbnail based upon the first image which is placed on a page. I was thinking that the best way of doing this would be by accessing the filer plugin directly.
The documentation isn't clear on how I can do this. Does anybody know?
I know that I can access the Page Titles using:
from cms.models import Title
Title.objects.all()
Is there a similar method for accessing the images on each page?
You can access the filer image model like so:
from filer.models.imagemodels import Image
Image.objects.all()
Edit:
If you are trying to access the images that are in the placeholders and are in the view you may use the following to get the pages cmsplugin_filer instances. (This is untested but should hopefully help)
if request.current_page:
placeholders = request.current_page.placeholders.all()
plugins = []
for placeholder in placeholders:
plugins += list(placeholder.get_plugins().filter(plugin_type='PicturePlugin'))
images = [p.image for p in plugins]

Show contents of .csv file in Markdown

I have a C# solution that contains unit tests automatically generated from a .csv file via text templates.
The .csv file is a nice table for any team member to refer to, and serves as living documentation of the system.
We're running TFS 2015 and I understand that Markdown can be used in conjunction to provide clear system documentation.
Is it possible to use Markdown to display the contents of a .csv file (stored on the TFS server) within a table? So that if the .csv file is edited, the Markdown page reflects this?
For now, it's impossible. Detail info about Markdown page in TFS, please refer this tutorial: Markdown guidance
I have created a uservoice for you, you can vote up for it and TFS admin will kindly review the suggestion.
Show contents of .csv file in Markdown
https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/17749084-show-contents-of-csv-file-in-markdown
you can use dbeaver that will create a markdown table of your query result
click on export data and than:
next next
and in Output section check Copy to clipboard
click next and at the end click proceed
now you can copy your markdown text saved in your clipboard (this is the place where the system store data once you hit CTRL+C) insiede your markdown file

Set Reportlab generated PDF to open in SinglePage Layout?

I created a Django app in which I render a PDF by ReportLab. Everything works fine, so I am working on the refinements.
I think it is common knowledge, that the PDF specifications allow to open a document in a specific layout. I am especially looking for the PageLayout SinglePage. See page 140 in the Adobe PDF reference, version 1.7.
Is there such a functionality in ReportLab? I went through the document for the 3rd time, but I only found "2.6 Other canvas methods" in the ReportLab User Guide. Any hints on how I can add the PageLayout functionality to my canvas or page in ReportLab?
Thanks
Martin

How can I set a name to a camera photo and save it to disc?

I am building an iOS app using Rubymotion.
In this app I want to let the user take a picture and cache/save it to the
disc. The important thing is that I will be able to find it later explicitly.
How can I save camera photos to the app?
How can I select a custom name for the image?
Thankful for all input!
I would look into two methods within the ALAssetsLibrary class:
- writeImageToSavedPhotosAlbum:metadata:completionBlock:
- assetForURL:resultBlock:failureBlock:
The first will allow you save a UIImage to the Saved Photos Album, returning its assetURL if successful.
The second will allow you to look up an ALAsset by its assetURL.
As for custom names, you'll have to store those within your app along with the assetURL of the image.